Adios comments!

This commit is contained in:
Brit Butler 2012-08-18 20:20:09 -04:00
parent ecfbe41b1f
commit 6a71773c0c
3 changed files with 0 additions and 29 deletions

View file

@ -1,15 +0,0 @@
{namespace coleslaw.theme.hyde}
{template comment}
<li id="{$comment.id}" class="comment">
<div class="comment-author"
<a href="{$comment.author.url}">{$comment.author.name}</a>
</div><br>
<div class="comment-content">{$comment.content |noAutoescape}</div><br>
<div class="comment-meta">
<span class="comment-datetime">{$comment.timestamp}</span>
<span class="meta-sep">|</span>
<span class="comment-permalink"><a href="{$comment.url}">Permalink</a></span>
</div>
</li>
{/template}

View file

@ -25,11 +25,6 @@
<a class="article-title" href="{$post.url}">{$post.title}</a> <a class="article-title" href="{$post.url}">{$post.title}</a>
<div class="date"> posted on {$post.date}</div> <div class="date"> posted on {$post.date}</div>
<div class="article">{$post.contents |noAutoescape}</div> <div class="article">{$post.contents |noAutoescape}</div>
{if $count}
<div class="comment-count">
<a href="{$post.url}">{$post.comments} comments</a>
</div>
{/if}
</div> </div>
{/foreach} {/foreach}
<div id="relative-nav"> <div id="relative-nav">

View file

@ -17,13 +17,4 @@
{if $prev} <a href="{$prev}">Previous</a><br> {/if}{\n} {if $prev} <a href="{$prev}">Previous</a><br> {/if}{\n}
{if $next} <a href="{$next}">Next</a><br> {/if}{\n} {if $next} <a href="{$next}">Next</a><br> {/if}{\n}
</div>{\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} {/template}