This commit is contained in:
mei
2024-11-16 11:34:10 +08:00
parent d05d322538
commit 16fd822492
485 changed files with 22551 additions and 131 deletions
@@ -0,0 +1,8 @@
<% if ((!is_post() && !is_page()) || (is_post() && theme.post.comments.enable && page.comments) || (is_page() && page.comments)) { %>
<% var commentType = typeof page.comment === 'string' && page.comment !== '' ? page.comment : theme.post.comments.type %>
<% if (commentType) { %>
<article id="comments">
<%- partial('_partials/comments/' + commentType) %>
</article>
<% } %>
<% } %>