Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修正使用 Waline 时的评论计数部件链接 #541

Merged
merged 1 commit into from
Feb 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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