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>
|
|
|
|
{foreach $post in $index.posts}
|
2012-08-19 00:56:37 -04:00
|
|
|
<div class="article-meta">
|
2012-09-12 11:00:21 -04:00
|
|
|
<a class="article-title" href="{$config.domain}/posts/{$post.slug}.html">{$post.title}</a>
|
2012-08-19 00:56:37 -04:00
|
|
|
<div class="date"> posted on {$post.date}</div>
|
2013-01-01 20:16:28 -05:00
|
|
|
<div class="article">{$post.text |noAutoescape}</div>
|
2012-08-19 00:56:37 -04:00
|
|
|
</div>
|
|
|
|
{/foreach}
|
|
|
|
<div id="relative-nav">
|
2012-09-12 11:00:21 -04:00
|
|
|
{if $prev} <a href="{$prev}.html">Previous</a> {/if}
|
|
|
|
{if $next} <a href="{$next}.html">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}
|
2013-04-01 20:22:39 +02:00
|
|
|
<a href="{$config.domain}/tag/{$tag}.html">{$tag}</a>{nil}
|
|
|
|
{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">
|
2011-04-19 16:01:20 -04:00
|
|
|
<p>View posts from
|
2012-09-12 11:00:21 -04:00
|
|
|
{foreach $month in $months}
|
2013-04-01 20:22:39 +02:00
|
|
|
<a href="{$config.domain}/date/{$month}.html">{$month}</a>{nil}
|
|
|
|
{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}
|