coleslaw/themes/hyde/post.tmpl

24 lines
774 B
Cheetah
Raw Normal View History

{namespace coleslaw.theme.hyde}
{template post}
<div class="article-meta">{\n}
2012-09-12 10:16:57 -04:00
<h1 class="title">{$post.title}</h1>{\n}
<div class="tags">{\n}
2012-09-12 10:16:57 -04:00
Tagged as {foreach $tag in $post.tags}
2014-04-15 19:33:25 -04:00
<a href="../tag/{$tag.slug}.{$config.pageExt}">{$tag.name}</a>{nil}
{if not isLast($tag)},{sp}{/if}
2012-08-21 22:06:14 -04:00
{/foreach}
</div>{\n}
<div class="date">{\n}
2012-09-12 10:16:57 -04:00
Written on {$post.date}
</div>{\n}
</div>{\n}
<div class="article-content">{\n}
2013-01-01 20:16:28 -05:00
{$post.text |noAutoescape}
</div>{\n}
<div class="relative-nav">{\n}
2014-04-15 19:33:25 -04:00
{if $prev} <a href="{$config.domain}/posts/{$prev.slug}.{$config.pageExt}">Previous</a><br> {/if}{\n}
{if $next} <a href="{$config.domain}/posts/{$next.slug}.{$config.pageExt}">Next</a><br> {/if}{\n}
</div>{\n}
{/template}