<%:=blog.custom_title%>

<%:=API.Utils.formatDate(blog.pubTime || blog.pubtime)%>
<%:=API.Utils.base64ToUtf8(blog.custom_html)%>
评论 <%:=blog.comments && blog.comments.length || 0%> <%:=blog.likeTotal || 0 %> <%:=blog.custom_visitor && blog.custom_visitor.viewCount || 0 %>
<%/* 评论 */%> <%/* 遍历评论 */%> <%if(blog.comments){%> <%for (let index = 0; index < blog.comments.length; index++) {%> <%const comment = blog.comments[index];%>
<%:=API.Common.formatContent(API.Common.getCommentUser(comment).name, 'HTML', false, false, false, false, true)%> <%if(comment.private){%> 私密评论 <%}%> #<%:=index + 1 %>
<%:=API.Utils.formatDate(comment.postTime || comment.create_time)%>

<%:=API.Common.formatContent(comment.content, 'HTML', false, false, false, false, true)%>

<%if(comment.pic){%>
<%for (let cmIdx = 0; cmIdx < comment.pic.length; cmIdx++) {%> <%const image = comment.pic[cmIdx];%> <%}%>
<%}%>
<% const replies = comment.replies || comment.list_3 || []%> <%if(replies.length > 0){%> <%for(const reply of replies){%>
<%:=API.Common.formatContent(API.Common.getCommentUser(reply).name, 'HTML', false, false, false, false, true)%> <%if(reply.private){%> 私密回复 <%}%>
<%:=API.Utils.formatDate(reply.postTime || reply.create_time)%>

<%:=API.Common.formatContent(reply.content, 'HTML', false, false, false, false, true)%>

<%if(reply.pic){%>
<%for (let cmIdx = 0; cmIdx < reply.pic.length; cmIdx++) {%> <%const image = reply.pic[cmIdx];%> <%}%>
<%}%>
<%}%> <%}%>
<%}%> <%}%>