Support Author URLs in comment template.
This commit is contained in:
parent
325bdfcb8d
commit
1a110b541b
1 changed files with 4 additions and 2 deletions
|
@ -2,12 +2,14 @@
|
|||
|
||||
{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>
|
||||
<span class="meta-sep">|</span>
|
||||
<span class="comment-permalink"><a href="{$comment.url}">Permalink</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
{/template}
|
||||
|
|
Loading…
Add table
Reference in a new issue