Standard Fragmenta site structure
By default Fragmenta sites contain three folders (listed below), which hold the contents of the site, the templates used to convert that to HTML, and the HTML files themselves (along with any auxillary files like stylesheets and javascript).
Fragmenta folder structure
Click on one of the following links to see more detail on each of these folders.
Site.info files
Each website may have a site.info file, which is a special fragment containing details about the site. This can be very simple, however there are many keys available to adjust the way fragmenta builds the site. As with a page.info file, most of these keys are optional. The site.info file lives at the top level of the Content folder. The keys are shown below :
Mandatory fields
- site_name :: The site title, used in HTML title tags by most templates
- site_url :: The url of the website, including ‘http://’ prefix
Optional fields
- destination :: The destination, which can be a relative path, starts at site root. Defaults to ‘Website’
- site_version :: A number representing the version of the website – appended to css urls to avoid caches
- capitalise :: Defaults to no – possible values – titlecase sentencecase no
- thumbnails :: Defaults to 0 – possible values – 0 (no thumbnails) or number which means max size of thumbnails
Fragmenta manual
