hexo-theme-keep/layout/_partial/comment/comment.ejs

22 lines
700 B
Plaintext

<div class="comments-container">
<div id="comments-anchor"></div>
<div class="comment-area-title">
<i class="fas fa-comments"></i>&nbsp;<%- __('comments') %>
</div>
<% if (theme.comment.enable === true && theme.comment.hasOwnProperty(theme.comment.use)) { %>
<% if (theme.comment.use === 'valine') { %>
<%- partial('valine') %>
<% } else if (theme.comment.use === 'gitalk') { %>
<%- partial('gitalk') %>
<% } else if (theme.comment.use === 'twikoo') { %>
<%- partial('twikoo') %>
<% } else if (theme.comment.use === 'waline') { %>
<%- partial('waline') %>
<% } %>
<% } %>
</div>