]> ruin.nu Git - ndwebbie.git/blobdiff - root/lib/site/wrapper.tt2
Allow users to store their birthday
[ndwebbie.git] / root / lib / site / wrapper.tt2
index 37674ca39de11ef2ed2417db1f439eea0fac4c2b..b6431c5ed9853a60413e6119b1107bce8c6d496d 100644 (file)
@@ -1,8 +1,17 @@
 [% 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;
+ELSIF template.name.match('jsrpc/');
+       debug("Passing page through xml: $template.name");
+       content WRAPPER site/xml.tt2;
+ELSIF template.name.match('textexport/');
+       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;
 -%]