Customize site design
HTML templates
There are two HTML template files, [site directory]/templates/header and [site directory]/templates/footer, upon generation of the site the header is added before the content, and the footer naturally after.
If the header and footer are executable their output will be used instead of the actual file contents. Executable template files have any variables set in [site directory]/content_variables/*, the page_title and/or any variables set in the content page header available for use (see Dynamic content http://pagegen.phnd.net/user-manual/dynamic-content for more information).
In addition to the template files Pagegen adds a <div> tag around the page content. The tag's id attribute will be frontpage_content for the front page and for all other pages the id will be content.
CSS, Javascript and images
When generating the site all contents in the [site directory]/include directory are either copied(default) or symlinked to the output folder (see Site configuration http://pagegen.phnd.net/user-manual/site-configuration). Add CSS, Javascript and images (or anything else) to this directory to have them included with the generated site.



