Templating allows you to take out 'snippets' of HTML that are common throughout the site, or directory hierarchy. This reduces the repetitive nature of hand coding multiple pages within a site. Templates can be assigned to a specific directory, or to all child directories.
The idea behind the templating system was to use as few templates as possible. As an example, this site, created with rsscms, is generated with only three templates:
- Home page template - localised to the home page only.
- Root/Base template - if no other template is found, this is used.
- Dynamic sub-hierarchy include template - as seen on the 'about rsscms', 'features' and 'documentation' pages.
The only limit placed on templates is that the maximum number of templates equals the number of pages created, so go wild!