<% this.title = article.title + ' - 帖子'; %> <% include header %>

<%= article.title %>

<%= article.user.username %><% if (article.user.nameplate) { %><%- article.user.nameplate %><% } %> 于 <%= syzoj.utils.formatDate(article.public_time) %> 发表,<%= syzoj.utils.formatDate(article.update_time) %> 最后更新 <% if (article.allowedEdit) { %> 删除文章 编辑文章 <% } %>

<%- article.content %>
<% if (comments.length) { %>

共 <%= comments.length %> 条回复

<% for (let comment of comments) { %>
<%= comment.user.username %><% if (comment.user.nameplate) { %><%- comment.user.nameplate %><% } %>
<%- comment.content %>
<% if (comment.allowedEdit) { %> <% } %>
<% } %> <% } %>

<% include page %> <% if (article.allowedComment) { %>
<% } %>
<% include footer %>