Description: Description: This describes the way you modify files for the
SMAUG web site.
Smaug Templates
After much fighting trying to keep page design synchronized between the various pages on the SMAUG web site, some radical redesign was needed. To this end, the new template-based design was created.
The idea behind the templates is relatively simple. Each .html file on the site is basically an exact copy of the template file with only one line changed. These files then include a .sub file with the actual body of the document.
If you are modifying the contents of a document (or creating a new document), the actual content will be in the .sub file, and the .html file will #include it.
If you are trying to modify the design, start by modifying template.html. Once you have made your changes, you should copy template.html over all the other .html files. Finally, you should then modify the #include virtual directive in each .html file to include the correct .sub file for that page.
As a final reminder, do NOT edit ANY .html file other than template.html unless you are correcting the #include to point to a different .sub file. If you edit the .html files, they will end up out of sync with each other, and it will be a mess making them the same again.