Skip to content

Commit

Permalink
Fix valine meta for theme-next#1305
Browse files Browse the repository at this point in the history
  • Loading branch information
sli1989 committed Jan 14, 2020
1 parent c4796bd commit f8c6f2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/filters/comment/valine.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ hexo.extend.filter.register('theme_inject', injects => {
{% if post.comments and (is_post() or theme.valine.comment_count) %}
<span class="post-meta-item">
${iconText('comment-o', 'valine')}
<a title="valine" href="{{ url_for(post.path) }}#comments" itemprop="discussionUrl">
<a title="valine" href="{{ url_for(post.path) }}#valine-comments" itemprop="discussionUrl">
<span class="post-comments-count valine-comment-count" data-xid="{{ url_for(post.path) }}" itemprop="commentCount"></span>
</a>
</span>
Expand Down

0 comments on commit f8c6f2d

Please sign in to comment.