<% 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 %>

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

<% for (let comment of comments) { %>
<% if (comment.allowedEdit) { %> 删除 <% } %>

<%= syzoj.utils.formatDate(comment.public_time) %>

<%= comment.user.nickname %>

<%- comment.content %>
<% } %> <% include page %>

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