fix: 當設置 comments 為 false 時,如果設置了顯示評論提供的閲讀數,閲讀數無法顯示的 bug

fix: findArchivesTitle bug
This commit is contained in:
Jerry
2022-06-27 01:23:35 +08:00
Unverified
parent fba180afaf
commit dbb31dec99
5 changed files with 6 additions and 8 deletions

View File

@@ -62,7 +62,7 @@
block
- const commentUse = comments.use
if commentUse && !comments.lazyload
if page.comments !== false && commentUse && !comments.lazyload
if commentUse[0] === 'Valine' && theme.valine.visitor
+pvBlock(url_for(page.path),'leancloud_visitors',page.title)
span.leancloud-visitors-count