mirror of https://github.com/halo-dev/halo
🐛 fixed comment manage page error
parent
da1696bdb9
commit
dfa1001125
|
@ -50,13 +50,13 @@
|
|||
<#if comments.content?size gt 0>
|
||||
<#list comments.content as comment>
|
||||
<tr>
|
||||
<td><a href="${comment.commentAuthorUrl}" target="_blank">${comment.commentAuthor}</a></td>
|
||||
<td><p>${comment.commentContent}</p></td>
|
||||
<td><a href="${comment.commentAuthorUrl!}" target="_blank">${comment.commentAuthor!}</a></td>
|
||||
<td><p>${comment.commentContent!}</p></td>
|
||||
<td>
|
||||
<#if comment.post.postType == "post">
|
||||
<a target="_blank" href="/archives/${comment.post.postUrl}#comment-id-${comment.commentId?c}">${comment.post.postTitle}</a>
|
||||
<a target="_blank" href="/archives/${comment.post.postUrl}#comment-id-${comment.commentId?c}">${comment.post.postTitle!}</a>
|
||||
<#else >
|
||||
<a target="_blank" href="/p/${comment.post.postUrl}#comment-id-${comment.commentId?c}">${comment.post.postTitle}</a>
|
||||
<a target="_blank" href="/p/${comment.post.postUrl}#comment-id-${comment.commentId?c}">${comment.post.postTitle!}</a>
|
||||
</#if>
|
||||
</td>
|
||||
<td>${comment.commentDate?string('yyyy-MM-dd HH:mm')}</td>
|
||||
|
|
Loading…
Reference in New Issue