Support Author URLs in comment template.

This commit is contained in:
Brit Butler 2011-04-23 21:36:45 -04:00
parent 325bdfcb8d
commit 1a110b541b

View file

@ -2,7 +2,9 @@
{template comment}
<li id="{$comment.id}" class="comment">
<div class="comment-author">{$comment.author}</div><br>
<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>