From 038fe3bbe38b14c04f669c1de95eac0924fe4696 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 14 Feb 2016 22:05:01 +0100 Subject: Add theme --- themes/oni/index.tmpl | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 themes/oni/index.tmpl (limited to 'themes/oni/index.tmpl') diff --git a/themes/oni/index.tmpl b/themes/oni/index.tmpl new file mode 100644 index 0000000..6562c1e --- /dev/null +++ b/themes/oni/index.tmpl @@ -0,0 +1,74 @@ +{namespace coleslaw.theme.oni} +{template index} +
+

{$index.title}

+
+ + {foreach $obj in $index.content} +
+
+

{$obj.title}

+ Published on: +
+ +
+ {$obj.text|noAutoescape} +
+ + +
+ {if not isLast($obj)} +
+ {/if} + {/foreach} + + + +
+ + {if $tags} +
+

+ This blog covers + {foreach $tag in $tags} + {$tag.name}{nil} + {if not isLast($tag)},{sp}{/if} + {/foreach} +

+
+ {/if} + + {if $months} +
+

+ View content from + {foreach $month in $months} + {$month.name}{nil} + {if not isLast($month)},{sp}{/if} + {/foreach} +

+
+ {/if} +{/template} -- cgit v1.2.3-54-g00ecf