|
|
|
@ -2,7 +2,13 @@ |
|
|
|
|
<div class="new-meta-item browse valine"> |
|
|
|
|
<a class='notlink'> |
|
|
|
|
<i class="<%- theme.meta.counter.icon %> fa-fw" aria-hidden="true"></i> |
|
|
|
|
<span id="<%- url_for(post.path || page.path) %>" class="leancloud_visitors" data-flag-title="<%- post.title || page.title %>"> |
|
|
|
|
<% |
|
|
|
|
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> |
|
|
|
|