mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-16 20:30:53 +08:00
✨ disqus/disqusjs/facebook comments 可隨夜間模式按鈕切換而轉換主題
🐛 修復pjax下valine評論顯示不正常的bugs 🐛 修復facebook comments 在手機下寬度不是100%的bugs
This commit is contained in:
7
layout/includes/comments/js-load-all.pug
Normal file
7
layout/includes/comments/js-load-all.pug
Normal file
@@ -0,0 +1,7 @@
|
||||
- let defaultComment = theme.comments.use[0]
|
||||
each name in theme.comments.use
|
||||
case name
|
||||
when 'Valine'
|
||||
include ./valine.pug
|
||||
when 'Facebook Comments'
|
||||
include ./facebook_comments.pug
|
||||
Reference in New Issue
Block a user