summaryrefslogtreecommitdiff
path: root/GroLUG/root/lib/site/wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'GroLUG/root/lib/site/wrapper')
-rw-r--r--GroLUG/root/lib/site/wrapper8
1 files changed, 8 insertions, 0 deletions
diff --git a/GroLUG/root/lib/site/wrapper b/GroLUG/root/lib/site/wrapper
new file mode 100644
index 0000000..3e55955
--- /dev/null
+++ b/GroLUG/root/lib/site/wrapper
@@ -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 + site/layout;
+ END;
+-%]