Re: Why doesn't this work: INSERT in PROCESS block.
Tom Molesworth <tom-UE50auxAeIt4LjgWlUEQQwC/[email protected]> Wed, 29 Jan 2014 06:19:09 +0000
| Newsgroups | gmane.comp.lang.perl.modules.template-toolkit |
|---|---|
| Message-ID | <[email protected]> |
On 29/01/14 05:55, Sherwood Botsford wrote:
> [% PROCESS header.inc
> Title = "Instant Trees -- Just add water"
> Desc = "Sherwood's Forests advice on getting your own forest quickly."
> [% INSERT last-modified-gmt.inc %]
> %]
You have nested [% %] in there, try this:
[% PROCESS header.inc
Title = "Instant Trees -- Just add water"
Desc = "Sherwood's Forests advice on getting your own forest quickly.";
INSERT last-modified-gmt.inc
%]
cheers,
Tom
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates