Templating system

Templates are complete HTML files with no ITL code.

They cannot contain ITL as they're not parsed for Interchange tags.

The HTML in the templates should be complete, that means including the whole page, from the opening <html> to closing </html>.

The only and intended way to populate the templates with real data is via placeholders. Placeholders are uppercase words in curly braces, such as {LEFT}, {RIGHT} and {BODY}.

A very simple template saved in file templates/simple could look like this:

<html>

  <head>
  </head>
  
  <body>
  {BODY}
  </body>

</html>

As the contained HTML is complete and the {PLACEHOLDER} marks do not interfere with HTML parsing, you can create or edit templates in graphical HTML editors.

DocBook! Interchange!