sbbs/themes/hueman/layout/comment/index.ejs
2018-09-03 17:41:16 +10:00

23 lines
869 B
Plaintext

<% if (post.comments) { %>
<section id="comments">
<% if (theme.comment.disqus) { %>
<%- partial('comment/disqus') %>
<% } else if (theme.comment.duoshuo) { %>
<%- partial('comment/duoshuo') %>
<% } else if (theme.comment.youyan) { %>
<%- partial('comment/youyan') %>
<% } else if (theme.comment.livere) { %>
<%- partial('comment/livere') %>
<% } else if (theme.comment.facebook) { %>
<%- partial('comment/facebook') %>
<% } else if (typeof(theme.comment.isso) === 'string'
|| theme.comment.isso && theme.comment.isso.on) { %>
<%- partial('comment/isso') %>
<% } else if (theme.comment.changyan.on) { %>
<%- partial('comment/changyan') %>
<% } else if (theme.comment.valine.on) { %>
<%- partial('comment/valine') %>
<% } %>
</section>
<% } %>