summaryrefslogtreecommitdiff
path: root/GroLUG/root/lib/site/wrapper
diff options
context:
space:
mode:
authordakkar <dakkar@luxion>2006-02-08 14:45:28 +0000
committerdakkar <dakkar@luxion>2006-02-08 14:45:28 +0000
commit0da21beb53bba595fec04ddf200a46675ae0be31 (patch)
tree73a591b564f8fb6da2fdcf6335f11ecce5874a71 /GroLUG/root/lib/site/wrapper
parentscheletro catalyst (diff)
downloadIscrittiGroLUG-0da21beb53bba595fec04ddf200a46675ae0be31.tar.gz
IscrittiGroLUG-0da21beb53bba595fec04ddf200a46675ae0be31.tar.bz2
IscrittiGroLUG-0da21beb53bba595fec04ddf200a46675ae0be31.zip
view::TTsite
git-svn-id: svn://luxion/repos/IscrittiGroLUG/trunk@165 fcb26f47-9200-0410-b104-b98ab5b095f3
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;
+-%]