]> ruin.nu Git - ndwebbie.git/blobdiff - root/lib/site/wrapper.tt2
Initial commit of catalyst files
[ndwebbie.git] / root / lib / site / wrapper.tt2
diff --git a/root/lib/site/wrapper.tt2 b/root/lib/site/wrapper.tt2
new file mode 100644 (file)
index 0000000..37674ca
--- /dev/null
@@ -0,0 +1,8 @@
+[% 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;
+-%]