in a file 'header':


[% webpages = [
{ url => index.html, title => about, id => about },
{ url => index.html, title => yiddish, id => yiddish }
]
%]
<table>
[% FOREACH link = webpages %]
<tr><td id=[% link.id %]><a href="[% link.url %]">[% link.title %]</a></td></tr>
[% END %]



then [% INCLUDE header %] at the top of my files and proces like this:


ttree -r -s "C:\a_tt2" -l "C:\a_tt2\lib" -d "C:\a_new"


I thought this used to work, but I must've made a syntax error.


If anyone could take pity and tell me what the sytax should be to define the AoH, I'd appreciate it greatly.

-- mike higgins

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

Reply via email to