From c9d38e16cb736b9692a3e7726ea9f0c00702230e Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 27 Dec 2020 16:04:21 -0800 Subject: Fix building on latest coleslaw --- themes/default/index.tmpl | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 themes/default/index.tmpl (limited to 'themes/default/index.tmpl') diff --git a/themes/default/index.tmpl b/themes/default/index.tmpl new file mode 100644 index 0000000..29cbee9 --- /dev/null +++ b/themes/default/index.tmpl @@ -0,0 +1,34 @@ +{namespace coleslaw.theme.hyde} + +{template index} +

{$index.title}

+{foreach $obj in $index.content} +
+ {$obj.title} +
posted on {$obj.date}
+
{$obj.excerpt |noAutoescape}
+
+{/foreach} +
+ {if $prev} Previous {/if} + {if $next} Next {/if} +
+{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