Ask Bjoern Hansen wrote: > Why does it work to set page.title to template.title and then > afterwards set template.title via META? Because the real template > gets compiled first and template.title set then? (And overwritten > later when the template is executed?).
Yes, that sounds about right. The META tags get parsed and evaluated at compile time so that you can reference them before processing the template (e.g. to insert the template.title into a header template which you call via pre-process). In this case, we copy the compile-time META items into a runtime data structure, page, using a pre-process template. The we process the template which may update the page data. Finally we process the wrapper templates and display various bits of page data in the headers, footers, menus, etc. A _______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
