This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
mystic/themes/hueman/layout/comment/counter.ejs

17 lines
807 B
Plaintext
Raw Normal View History

2018-09-03 07:41:16 +00:00
<% if (post.comments) { %>
<span class="comment-counter">
<i class="fa fa-comments-o"></i>
<% if (theme.comment.disqus) { %>
<span class="disqus-comment-count" data-disqus-identifier="<%= post.disqusId || '' %>" data-disqus-url="<%= post.permalink %>">0</span>
<% } else if (theme.comment.duoshuo) { %>
<span class="ds-thread-count" data-thread-key="<%= post.path %>">0</span>
<% } else if (theme.comment.isso) { %>
<span><a href="<%= post.permalink %>#isso-thread"></a></span>
<% } else if (theme.comment.facebook) { %>
<span class="fb-comments-count" data-href="<%= post.permalink %>">0</span>
<% } else if (theme.comment.changyan.on) { %>
<span class="cy_cmt_count" id="sourceId::<%= post.permalink %>">0</span>
<% } %>
</span>
<% } %>