2011-04-16 15:46:12 -04:00
|
|
|
{namespace coleslaw.theme.hyde}
|
|
|
|
|
|
|
|
{template index}
|
2012-09-12 11:00:21 -04:00
|
|
|
<h1 class="title">{$index.title}</h1>
|
2014-04-15 20:39:13 -04:00
|
|
|
{foreach $obj in $index.content}
|
2012-08-19 00:56:37 -04:00
|
|
|
<div class="article-meta">
|
2014-08-27 14:08:48 -04:00
|
|
|
<a class="article-title" href="{$config.domain}/{$obj.url}">{$obj.title}</a>
|
2014-04-15 20:39:13 -04:00
|
|
|
<div class="date"> posted on {$obj.date}</div>
|
2017-03-22 18:39:34 +01:00
|
|
|
<div class="article">{$obj.excerpt |noAutoescape}</div>
|
2012-08-19 00:56:37 -04:00
|
|
|
</div>
|
|
|
|
{/foreach}
|
|
|
|
<div id="relative-nav">
|
2014-08-27 14:08:48 -04:00
|
|
|
{if $prev} <a href="{$config.domain}/{$prev.url}">Previous</a> {/if}
|
|
|
|
{if $next} <a href="{$config.domain}/{$next.url}">Next</a> {/if}
|
2012-08-19 00:56:37 -04:00
|
|
|
</div>
|
2012-09-12 11:00:21 -04:00
|
|
|
{if $tags}
|
2011-04-16 15:46:12 -04:00
|
|
|
<div id="tagsoup">
|
2011-04-19 16:01:20 -04:00
|
|
|
<p>This blog covers
|
2012-09-12 11:00:21 -04:00
|
|
|
{foreach $tag in $tags}
|
2014-08-27 14:45:08 -04:00
|
|
|
<a href="{$config.domain}/{$tag.url}">{$tag.name}</a>{nil}
|
2013-04-01 20:22:39 +02:00
|
|
|
{if not isLast($tag)},{sp}{/if}
|
2011-04-19 16:01:20 -04:00
|
|
|
{/foreach}
|
2011-04-16 15:46:12 -04:00
|
|
|
</div>
|
|
|
|
{/if}
|
2012-09-12 11:00:21 -04:00
|
|
|
{if $months}
|
2011-04-16 15:46:12 -04:00
|
|
|
<div id="monthsoup">
|
2014-04-15 20:39:13 -04:00
|
|
|
<p>View content from
|
2012-09-12 11:00:21 -04:00
|
|
|
{foreach $month in $months}
|
2014-08-27 14:08:48 -04:00
|
|
|
<a href="{$config.domain}/{$month.url}">{$month.name}</a>{nil}
|
2013-04-01 20:22:39 +02:00
|
|
|
{if not isLast($month)},{sp}{/if}
|
2011-04-19 16:01:20 -04:00
|
|
|
{/foreach}
|
2011-04-16 15:46:12 -04:00
|
|
|
</div>
|
|
|
|
{/if}
|
|
|
|
{/template}
|