David Favor wrote:
> I'm trying to set a site wide dynamic variable date similar to:
>
> [%
> email = '[EMAIL PROTECTED]'
> this_year = [% date.format(date.now,'%Y') %]
^^ ^^
You've got an extra set of [% %] that you don't need.
[%
email = '[EMAIL PROTECTED]'
this_year = date.format(date.now,'%Y')
%]
That should do it. Just don't forget to [% USE date %] somewhere
above that line to load the date plugin.
A
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates