This paper presents a method and a tool for designing and automatically creating an HTML web site for publishing Semantic Web content represented in RDF(S). The idea is to specify the needed RDF to HTML transformation on two separate levels. On the HTML level, the layout of the pages can be described by an HTML layout designer by using templates and tags. On the RDF level, the semantics of the tags are specified by a system programmer in terms of logical rules based on the RDF(S) repository. The idea is to apply logic for defining the semantic linkage structure and the indices of the page repository. The method has been implemented as a tool called SWeHG for generating a static, semantically linked site of HTML pages from an RDF repository. As real life case applications, web exhibitions generated from museum collection metadata are presented.