feat: 修改newest_comments的leancloud為valine,並刪除其配置,改為讀取valine配置

feat: 增加waline最新評論模塊
feat: 增加waline評論數顯示
feat: 增加waline評論
fix: 修復jquery在一些界面仍然加載問題
This commit is contained in:
Jerry
2020-12-19 00:44:58 +08:00
Unverified
parent 83299dfd2f
commit 25cf081250
13 changed files with 216 additions and 55 deletions

View File

@@ -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