23 lines
869 B
Plaintext
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>
|
||
|
<% } %>
|