]> ruin.nu Git - ndwebbie.git/blobdiff - root/lib/site/wrapper.tt2
Converted the graphs
[ndwebbie.git] / root / lib / site / wrapper.tt2
index 37674ca39de11ef2ed2417db1f439eea0fac4c2b..3a7af0765dcb20b656797323305f190df844df75 100644 (file)
@@ -1,8 +1,11 @@
 [% IF template.name.match('\.(css|js|txt)');
-     debug("Passing page through as text: $template.name");
-     content;
-   ELSE;
-     debug("Applying HTML page layout wrappers to $template.name\n");
-     content WRAPPER site/html.tt2 + site/layout.tt2;
-   END;
+       debug("Passing page through as text: $template.name");
+       content;
+ELSIF template.name.match('graphs/');
+       debug("Passing page through graph: $template.name");
+       content;
+ELSE;
+       debug("Applying HTML page layout wrappers to $template.name\n");
+       content WRAPPER site/html.tt2 + site/layout.tt2;
+END;
 -%]