]> ruin.nu Git - ndwebbie.git/blob - root/lib/site/wrapper.tt2
3a7af0765dcb20b656797323305f190df844df75
[ndwebbie.git] / root / lib / site / wrapper.tt2
1 [% IF template.name.match('\.(css|js|txt)');
2         debug("Passing page through as text: $template.name");
3         content;
4 ELSIF template.name.match('graphs/');
5         debug("Passing page through graph: $template.name");
6         content;
7 ELSE;
8         debug("Applying HTML page layout wrappers to $template.name\n");
9         content WRAPPER site/html.tt2 + site/layout.tt2;
10 END;
11 -%]