Make your own template
For advanced users who are competent with HTML / CSS and know a little about XSL transforms, webgeno offers complete customizability of the website deisgn.
To make a new template it's usually easiest to copy an existing template's transform.xsl file and then delete all or parts of the content of the various <xsl:template /> tags and replace them with your own HTML design. The way the transform works is that whenever it encounters the tag indicated in the "match" attribute, the contents of the "xsl:template" tag will be output instead.
The source document which is passed to the transform is similar to the website.xml file except that it only contains the content of the target page that's currently being processed. Run webgeno using one of the built-in templates and look for the page.xml file next to one of the index.html files. This is the source page that gets sent to the transform. This temporary source file will look the same for any particular page regardless of what template you use. In addition to the regular stuff found in website.xml, it also contains the site_map, crumbtrail, and site_menu. The information for these elements is extracted from website.xml and is produced in the "breakdown" phase of the translation. Generally you won't need to touch breakdown.xsl unless you want to extend the system.
The whole source document is available to you during translation and can be accessed with either a fully-qualified XPath statement starting from the root "file" element or one that is relative to the tag that is currently being matched. See the W3C website for more information about XSLT and XPath.
Search
Highlights
- Checkout all the different "flavors" that this site comes in on the templates page
- See the automatically generated site map