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

19 lines
865 B
Plaintext

<% if (theme.comment.disqus) { %>
<%- partial('comment/disqus', { script: true }) %>
<% } else if (theme.comment.duoshuo) { %>
<%- partial('comment/duoshuo', { script: true }) %>
<% } else if (theme.comment.youyan) { %>
<%- partial('comment/youyan', { script: true }) %>
<% } else if (theme.comment.livere) { %>
<%- partial('comment/livere', { script: true }) %>
<% } else if (theme.comment.facebook) { %>
<%- partial('comment/facebook', { script: true }) %>
<% } else if (typeof(theme.comment.isso) === 'string'
|| theme.comment.isso && theme.comment.isso.on) { %>
<%- partial('comment/isso', { script: true }) %>
<% } else if (theme.comment.changyan.on) { %>
<%- partial('comment/changyan', { script: true }) %>
<% } else if (theme.comment.valine.on) { %>
<%- partial('comment/valine', { script: true }) %>
<% } %>