You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.1 KiB
29 lines
1.1 KiB
<% if ((theme.comments.valine && theme.comments.valine.appId && (theme.comments.valine.visitor == true))||(theme.comments.minivaline && theme.comments.minivaline.appId && (theme.comments.minivaline.visitor == true))) { %> |
|
<div class="new-meta-item browse valine"> |
|
<a class='notlink'> |
|
<i class="<%- theme.meta.counter.icon %> fa-fw" aria-hidden="true"></i> |
|
<% |
|
var path = post.path || page.path; |
|
if (path.length > 9 && (path.substring(path.length - 10) == 'index.html')) { |
|
path = path.substring(0, path.length - 10); |
|
} |
|
%> |
|
<span id="<%- url_for(path) %>" class="leancloud_visitors" data-flag-title="<%- post.title || page.title %>"> |
|
<p> |
|
<span class="leancloud-visitors-count"></span> |
|
</p> |
|
</span> |
|
</a> |
|
</div> |
|
<% } else if (theme.plugins.busuanzi) { %> |
|
<% if(!isPostList){ %> |
|
<div class="new-meta-item browse busuanzi"> |
|
<a class='notlink'> |
|
<i class="<%- theme.meta.counter.icon %> fa-fw" aria-hidden="true"></i> |
|
<p> |
|
<span id="busuanzi_value_page_pv"></span> |
|
</p> |
|
</a> |
|
</div> |
|
<% } %> |
|
<% } %>
|
|
|