> [% 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 %] > %] > > When I run ttree it fusses: > > ! file error - parse error - Solutions/Instant_Forest.tt2 line 1-5: > unexpected token (%) > [% PROCESS header.inc > Title = "Instant Trees -- Just add water" > Desc = "Sherwood's Forests advice on getting your own forest quickly." > Last_Major_Modification = "Tue 28 Jan 2014 20:23:42 MST" > [% INSERT last-modified-gmt.inc %]
I guess nesting is not allowed. The inner %] closed the outer [%. Outer %] caused syntax error in parser. Try to omit inner [% %]. Gabor _______________________________________________ templates mailing list templates@template-toolkit.org http://mail.template-toolkit.org/mailman/listinfo/templates