28 lines
732 B
Plaintext
28 lines
732 B
Plaintext
<%
|
|
const {
|
|
enable: t_comment_enable,
|
|
use: t_comment_use
|
|
} = theme?.comment
|
|
%>
|
|
<div class="comments-container">
|
|
<div id="comments-anchor"></div>
|
|
<div class="comment-area-title">
|
|
<i class="fas fa-comments"></i> <%- __('comments') %>
|
|
</div>
|
|
<% if (t_comment_enable === true && t_comment_use) { %>
|
|
<% if (t_comment_use === 'valine') { %>
|
|
<%- partial('valine') %>
|
|
|
|
<% } else if (t_comment_use === 'gitalk') { %>
|
|
<%- partial('gitalk') %>
|
|
|
|
<% } else if (t_comment_use === 'twikoo') { %>
|
|
<%- partial('twikoo') %>
|
|
|
|
<% } else if (t_comment_use === 'waline') { %>
|
|
<%- partial('waline') %>
|
|
|
|
<% } %>
|
|
<% } %>
|
|
</div>
|