The template
file: code/tt/new_series.tt1: <html> 2: <head><title>New Series</title></head> 3: <body> 4: [% IF data %] 5: <h1>New Series to check out:</h1> 6: <ul> 7: [% FOREACH item IN data %] 8: <li><a href="[% item.url %]">[% item.title %]</a> ([% item.size %])</li> 9: [% END %] 10: </ul> 11: [% ELSE %] 12: <p>No new series. Go do something productive!</p> 13: [% END %] 14: </body> 15: </html> 16: