One document is called the main document. This document is a regular
document with the main attribute set to "true". There can be only
one main document.
Some attributes of this main document are used to specify site-wide information:
- title: The title of the site is the same as this document and can be accessed
with site-title in templates,
- stog:site-description: A short description of the site; use site-description
to access it in templates;
- stog:site-url: The base url of the site, used to forge urls when generating pages;
use site-url/ to insert it in templates,
- stog:site-email: A contact email for the site, accessible with site-email,
- stog:rss-length: The default length of RSS feeds.
In the main document, any attribute beginning with "stog:" will be used as global attribute
and accessible in all templates by its name. Other attributes are associated to the document only.