aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl/main.tt2
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl/main.tt2')
-rw-r--r--tmpl/main.tt29
1 files changed, 9 insertions, 0 deletions
diff --git a/tmpl/main.tt2 b/tmpl/main.tt2
new file mode 100644
index 0000000..0b7ca51
--- /dev/null
+++ b/tmpl/main.tt2
@@ -0,0 +1,9 @@
+[% INCLUDE header.tt2 %]
+<div id="content">
+[% IF is_dir %]
+[% INCLUDE content_dir.tt2 context = context, node = node %]
+[% ELSE %]
+[% file_content %]
+[% END %]
+</div>
+[% INCLUDE footer.tt2 %]