<% 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.facebook) { %>
    <%- partial('comment/facebook', { script: true }) %>
<% } else if (theme.comment.isso) { %>
    <%- partial('comment/isso', { script: true }) %>
<% } else if (theme.comment.changyan && theme.comment.changyan.appid && theme.comment.changyan.conf) { %>
    <%- partial('comment/changyan', { script: true }) %>
<% } else if (theme.comment.gitment &&
    theme.comment.gitment.owner &&
    theme.comment.gitment.repo &&
    theme.comment.gitment.client_id &&
    theme.comment.gitment.client_secret) { %>
    <%- partial('comment/gitment', { script: true }) %>
<% } else if (theme.comment.livere) { %>
    <%- partial('comment/livere', { script: true }) %>
<% } else if (theme.comment.valine && 
        theme.comment.valine.on && 
        theme.comment.valine.appId && 
        theme.comment.valine.appKey) { %>
    <%- partial('comment/valine', { script: true }) %>
<% } %>
