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

<%= article.title %>

<%= article.user.username %><% if (article.user.nameplate) { %><%- article.user.nameplate %><% } %> <%= syzoj.utils.formatDate(article.public_time) %> <% if (article.public_time !== article.update_time) { %> <%= syzoj.utils.formatDate(article.update_time) %><% } %> <% if (article.allowedEdit) { %> 编辑 删除

<% } %>

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

共 <%= commentsCount %> 条回复

<% 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 monaco-editor %>
<%- this.showLoadingEditor(); %>
<% } %>
<% include footer %>