For the theme, I'm leaning toward using a template file.
- The "theme dat" has been mounted to the site's
/themedirectory. - User visits
/index.htmlon the site- The
/theme/template.htmlfile is loaded. - The
/index.htmlfile is loaded.
- The
- Output is constructed:
- The template
<!-- TEMPLATE-CONTENT -->string gets replaced with the content of/index.html - The resulting string is served.
- The template