Skip to content

Commit

Permalink
Merge pull request #541 from UM-Li/master
Browse files Browse the repository at this point in the history
修正使用 Waline 时的评论计数部件链接
  • Loading branch information
tufu9441 authored Feb 24, 2023
2 parents 0467609 + fa139cb commit bf7ec8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layout/post.pug
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ block content
span.valine-comment-count(data-xid=url_for(page.path))
span= ' ' + __('Comment')
if theme.waline.enable == true
a.disqus-comment-count(href=url_for(page.path) + '#vcomment')
a.disqus-comment-count(href=url_for(page.path) + '#waline')
span.waline-comment-count(id=url_for(page.path))
span= ' ' + __('Comment')
if page.toc
Expand All @@ -55,4 +55,4 @@ block content
include _partial/post_nav.pug

if page.comments
include _partial/comments.pug
include _partial/comments.pug

0 comments on commit bf7ec8f

Please sign in to comment.