coleslaw/themes/hyde/post.tmpl
Willem Rein Oudshoorn dbdb7e29af Allow arbitrary tag names. However if two tags have the same slug they will be merged.
The name of the merged tag will be one of the original names.
However this should not happen in practice.
2013-04-19 12:53:25 +02:00

23 lines
735 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.slug}.html">{$tag.name}</a>{nil}
{if not isLast($tag)},{sp}{/if}
{/foreach}
</div>{\n}
<div class="date">{\n}
Written on {$post.date}
</div>{\n}
</div>{\n}
<div class="article-content">{\n}
{$post.text |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}