--- "Randal L. Schwartz" <[EMAIL PROTECTED]> wrote:
> >>>>> "Alan" == Alan Mead <[EMAIL PROTECTED]> writes:
> 
> Alan> [EMAIL PROTECTED] templates]$ more src/index.html
> Alan> [% META title = site.name
> Alan>         about = ''
> Alan>         type = 'mainpage'
> Alan> %]
> 
> META is done at template compilation time, not runtime, so it can't
> see anything in wrappers or preprocesses.  Use META for things
> that are abstract about a page, not calculations you want to make
> while running a page.  It's meta-data!

Thank you, I think I understand.  

But what can I do about "meta-meta" information?  This META
sturucture is defined in each page template.  But I want the site
name defined once.  (The site name will change between development
and final environments and I was hoping to solve these sorts of
problems using TT.)  

-Alan

__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to