2016-02-02 16:19:44 +00:00
|
|
|
<% if (post.comments) { %>
|
2016-02-06 13:39:29 +00:00
|
|
|
<% if (theme.comment.disqus) { %>
|
2017-06-05 13:49:08 +00:00
|
|
|
<section id="comments"><%- partial('comment/disqus') %></section>
|
2016-02-06 13:39:29 +00:00
|
|
|
<% } else if (theme.comment.duoshuo) { %>
|
2017-06-05 13:49:08 +00:00
|
|
|
<section id="comments"><%- partial('comment/duoshuo') %></section>
|
2016-02-06 13:39:29 +00:00
|
|
|
<% } else if (theme.comment.youyan) { %>
|
2017-06-05 13:49:08 +00:00
|
|
|
<section id="comments"><%- partial('comment/youyan') %></section>
|
2017-03-07 14:25:08 +00:00
|
|
|
<% } else if (theme.comment.facebook) { %>
|
2017-06-05 13:49:08 +00:00
|
|
|
<section id="comments"><%- partial('comment/facebook') %></section>
|
2017-03-07 14:25:08 +00:00
|
|
|
<% } else if (theme.comment.isso) { %>
|
2017-06-05 13:49:08 +00:00
|
|
|
<section id="comments"><%- partial('comment/isso') %></section>
|
2017-04-12 15:14:25 +00:00
|
|
|
<% } else if (theme.comment.changyan && theme.comment.changyan.appid && theme.comment.changyan.conf) { %>
|
2017-06-05 13:49:08 +00:00
|
|
|
<section id="comments"><%- partial('comment/changyan') %></section>
|
2017-06-01 08:26:26 +00:00
|
|
|
<% } else if (theme.comment.gitment) { %>
|
2017-06-05 13:49:08 +00:00
|
|
|
<section id="comments"><%- partial('comment/gitment') %></section>
|
2016-02-06 13:39:29 +00:00
|
|
|
<% } %>
|
2016-02-02 16:19:44 +00:00
|
|
|
<% } %>
|