coleslaw/themes/hyde/post.tmpl
2012-09-12 17:41:57 -04:00

23 lines
720 B
Cheetah

{namespace coleslaw.theme.hyde}
{template post}
<div class="article-meta">{\n}
<h1 class="title">{$post.title}</h1>{\n}
<div class="tags">{\n}
Tagged as {foreach $tag in $post.tags}
<a href="../tag/{$tag}.html">{$tag}</a>
{if not isLast($tag)}, {/if}
{/foreach}
</div>{\n}
<div class="date">{\n}
Written on {$post.date}
</div>{\n}
</div>{\n}
<div class="article-content">{\n}
{$post.content |noAutoescape}
</div>{\n}
<div class="relative-nav">{\n}
{if $prev} <a href="{$config.domain}/posts/{$prev.slug}.html">Previous</a><br> {/if}{\n}
{if $next} <a href="{$config.domain}/posts/{$next.slug}.html">Next</a><br> {/if}{\n}
</div>{\n}
{/template}