sbbs/themes/hueman/layout/comment/index.ejs

23 lines
869 B
Plaintext
Raw Normal View History

2018-09-03 07:41:16 +00:00
<% 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>
<% } %>