<%:=blog.custom_title%>

<%:=API.Utils.formatDate(blog.pubtime)%>
<%:=API.Utils.base64ToUtf8(blog.custom_html)%>
评论 <%:=blog.comments.length%> <%:=blog.likeTotal || 0 %> <%:=blog.custom_visitor && blog.custom_visitor.viewCount || 0 %>
<%/* 评论 */%> <%/* 遍历评论 */%> <%for (let index = 0; index < blog.comments.length; index++) {%> <%const comment = blog.comments[index];%>
<%/* 评论 */%>
<%:=API.Common.formatContent(comment.poster.name)%> <%:=API.Utils.formatDate(comment.postTime)%> #<%:=index + 1 %>
<%:=API.Common.formatContent(comment.content)%>
<%/* 评论回复 */%> <%if(comment.replyNum > 0 && comment.replies){%> <%for(let reply of comment.replies){%>
<%:=API.Common.formatContent(reply.poster.name)%> <%:=API.Utils.formatDate(reply.postTime)%>
<%:=API.Common.formatContent(reply.content)%>
<%}%> <%}%>
<%}%>