{include file="layout/header" /}
{include file="layout/sidebar" /}
{if $content.type == 'post' && $currentUser && ($content.author_id == $currentUser.id || $canEditContent)} 编辑 {/if}
{if $content.type == 'post'}文章{else}笔记{/if} {if $content.category} {$content.category.name} {/if} {if $content.status != 'publish'}{$content.status}{/if}

{$displayTitle}

{$bodyHtml|raw}
{notempty name="topics"}
{volist name="topics" id="t"} {$t.name} {/volist}
{/notempty}
评论 {$content.comments}
写下评论
{if $prev || $next}
{if $prev}
上一篇
{$prev.title}
{/if} {if $next}
下一篇
{$next.title}
{/if}
{/if}

评论 {$content.comments}

按时间排序
{if $content.allow_comment}
{if !$currentUser}
{/if}
{if $commentAudit}评论需要审核后展示{else}提交后立即展示{/if}
{else}
本文已关闭评论
{/if} {notempty name="commentList"} {volist name="commentList" id="c"}
{$c.nickname|mb_substr=0,1}
{$c.nickname}
{$c.create_time|time_ago}
{$c.content}
{/volist} {else/}
还没有评论,来说两句?
{/notempty} {if $commentPager && $commentPager.last > 1} {/if}
{include file="layout/footer" /}