mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-16 20:30:53 +08:00
✨ 增加facebook comments
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
- var gt = theme.gitalk && theme.gitalk.enable
|
||||
- var v = theme.valine && theme.valine.enable
|
||||
- var u = theme.utterances && theme.utterances.enable
|
||||
- var isComment = d || dj || l || gt || v || u
|
||||
- var fb = theme.facebook_comments && theme.facebook_comments.enable
|
||||
- var isComment = d || dj || l || gt || v || u || fb
|
||||
|
||||
if isComment
|
||||
hr
|
||||
@@ -23,4 +24,6 @@ if isComment
|
||||
else if v
|
||||
include ./valine.pug
|
||||
else if u
|
||||
include ./utterances.pug
|
||||
include ./utterances.pug
|
||||
else if fb
|
||||
include ./facebook_comments.pug
|
||||
Reference in New Issue
Block a user