>>>>> "Kiffin" == Kiffin Gish <[EMAIL PROTECTED]> writes:
Kiffin> Indeed page.title get set from template.title as follows:
Kiffin> So something is definitely going wrong hear -- scratch my (balding)
head.
No. It's as I said before. "template.title" is the value of the META
for the top-level file ONLY.
Kiffin> $tt->process('main.html.tmpl', $vars)
Kiffin> || die $tt->error();
The top level file is main.html.tmpl:
Kiffin> src/main.html.tmpl:
Kiffin> ------------------
Kiffin> [%
Kiffin> IF session.logged_in;
Kiffin> tmpl_file = q.param('page') or 'index';
Kiffin> ELSE;
Kiffin> tmpl_file = 'login';
Kiffin> CALL q.param( 'page', 'login' );
Kiffin> END
Kiffin> %]
And there's no META there.
So, you need to change your strategy. Set page.title from
something other than template.title, and life will be good.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates