mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-16 20:30:53 +08:00
feat: 修改newest_comments的leancloud為valine,並刪除其配置,改為讀取valine配置
feat: 增加waline最新評論模塊 feat: 增加waline評論數顯示 feat: 增加waline評論 fix: 修復jquery在一些界面仍然加載問題
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
if theme.newest_comments.leancloud.enable
|
||||
include ./leancloud.pug
|
||||
else if theme.newest_comments.github_issues.enable
|
||||
- let config = theme.newest_comments
|
||||
|
||||
if config.valine
|
||||
include ./valine.pug
|
||||
else if config.waline
|
||||
include ./waline.pug
|
||||
else if config.github_issues.enable
|
||||
include ./github-issues.pug
|
||||
else if theme.newest_comments.disqus.enable
|
||||
else if config.disqus.enable
|
||||
include ./disqus-comment.pug
|
||||
else if theme.newest_comments.twikoo
|
||||
else if config.twikoo
|
||||
include ./twikoo-comment.pug
|
||||
Reference in New Issue
Block a user