<% if(topic.top){%>置顶<% } %><%= topic.title %>


<%- markdown(topic.content) %>

<% if (topic.tags.length > 0) { %> 标签: <%- partial('tag/tag_in_topic',{ collection: topic.tags, as: 'tag' }) %> <% } else { %> 标签:无 <% } %>
<%= topic.author.name %> 在 <%= topic.friendly_create_at %> 发布 <% if (topic.friendly_create_at != topic.friendly_update_at) { %>
<%= topic.author.name %> 在 <%= topic.friendly_update_at %> 重新编辑 <% } %> 分享到 weibo <% if (locals.current_user) { %> <% if (!topic.in_collection) { %> <% } else { %> <% } %> <% } %> <% if (locals.current_user) { %> <% if (current_user.is_admin) { %> <% if (topic.top) { %> <% } else { %> <% } %> <% } else { %> <% if (current_user._id == topic.author_id) { %> <% } %> <% } %> <% } %>
<% if (topic.replies && topic.replies.length > 0) { %>
<%= topic.replies.length %> 回复
<%- partial('reply/reply', topic.replies) %>
<% } %> <% if (locals.current_user && locals.topic) { %>
添加回复
Ctrl+Enter 快捷回复
<% } %>
<% if (locals.current_user && locals.topic) { %> <% } %>