coleslaw/themes/hyde/post.tmpl

29 lines
768 B
Cheetah

{namespace coleslaw.theme.hyde}
{template post}
<div class="article-meta">{\n}
<h1 class="title">{$title}</h1>{\n}
<div class="tags">{\n}
Tagged as {$tags}
</div>{\n}
<div class="date">{\n}
Written on {$date}
</div>{\n}
</div>{\n}
<div class="article-content">{\n}
{$content |noAutoescape}
</div>{\n}
<div class="relative-nav">{\n}
{if $prev} <a href="{$prev}">Previous</a><br> {/if}{\n}
{if $next} <a href="{$next}">Next</a><br> {/if}{\n}
</div>{\n}
{if $comments}
<div class="comments">
<h3 class="comment-header" id="numcomments">{length($comments)} comments</h3>
<ol id="comments" class="commentlist">
{foreach $comment in $comments}
{call comment data="$comment" /}{\n}
{/foreach}
</div>
{/if}
{/template}