coleslaw/themes/hyde/index.tmpl

35 lines
943 B
Cheetah
Raw Normal View History

{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}
<div id="tagsoup">
<p>This blog covers
2012-09-12 11:00:21 -04:00
{foreach $tag in $tags}
<a href="{$config.domain}/tag/{$tag}.html">{$tag}</a>
{if not isLast($tag)}, {/if}
{/foreach}
</div>
{/if}
2012-09-12 11:00:21 -04:00
{if $months}
<div id="monthsoup">
<p>View posts from
2012-09-12 11:00:21 -04:00
{foreach $month in $months}
<a href="{$config.domain}/date/{$month}.html">{$month}</a>
{if not isLast($month)}, {/if}
{/foreach}
</div>
{/if}
{/template}