]> ruin.nu Git - ndwebbie.git/blob - root/lib/site/wrapper.tt2
Converted raids page
[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 ELSIF template.name.match('jsrpc/');
8         debug("Passing page through xml: $template.name");
9         content WRAPPER site/xml.tt2;
10 ELSE;
11         debug("Applying HTML page layout wrappers to $template.name\n");
12         content WRAPPER site/html.tt2 + site/layout.tt2;
13 END;
14 -%]