diff options
author | dakkar <dakkar@luxion> | 2006-02-08 14:45:28 +0000 |
---|---|---|
committer | dakkar <dakkar@luxion> | 2006-02-08 14:45:28 +0000 |
commit | 0da21beb53bba595fec04ddf200a46675ae0be31 (patch) | |
tree | 73a591b564f8fb6da2fdcf6335f11ecce5874a71 /GroLUG/root/lib/site | |
parent | scheletro catalyst (diff) | |
download | IscrittiGroLUG-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')
-rw-r--r-- | GroLUG/root/lib/site/footer | 3 | ||||
-rw-r--r-- | GroLUG/root/lib/site/header | 3 | ||||
-rw-r--r-- | GroLUG/root/lib/site/html | 12 | ||||
-rw-r--r-- | GroLUG/root/lib/site/layout | 7 | ||||
-rw-r--r-- | GroLUG/root/lib/site/wrapper | 8 |
5 files changed, 33 insertions, 0 deletions
diff --git a/GroLUG/root/lib/site/footer b/GroLUG/root/lib/site/footer new file mode 100644 index 0000000..d16739b --- /dev/null +++ b/GroLUG/root/lib/site/footer @@ -0,0 +1,3 @@ +<!-- BEGIN site/footer --> +<div id="copyright">© [% site.copyright %]</div> +<!-- END site/footer --> diff --git a/GroLUG/root/lib/site/header b/GroLUG/root/lib/site/header new file mode 100644 index 0000000..35159db --- /dev/null +++ b/GroLUG/root/lib/site/header @@ -0,0 +1,3 @@ +<!-- BEGIN site/header --> +<h1 class="title">[% template.title or site.title %]</h1> +<!-- END site/header --> diff --git a/GroLUG/root/lib/site/html b/GroLUG/root/lib/site/html new file mode 100644 index 0000000..0bf8c27 --- /dev/null +++ b/GroLUG/root/lib/site/html @@ -0,0 +1,12 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> + <head> + <title>[% template.title or site.title %]</title> + <style type="text/css"> +[% PROCESS ttsite.css %] + </style> + </head> + <body> +[% content %] + </body> +</html> diff --git a/GroLUG/root/lib/site/layout b/GroLUG/root/lib/site/layout new file mode 100644 index 0000000..6024fe3 --- /dev/null +++ b/GroLUG/root/lib/site/layout @@ -0,0 +1,7 @@ +<div id="header">[% PROCESS site/header %]</div> + +<div id="content"> +[% content %] +</div> + +<div id="footer">[% PROCESS site/footer %]</div> 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; +-%] |