mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2025-09-15 12:58:48 +08:00
feat: 添加artalk評論 closed #933 fix: 修復 開啟 archor 後, facebook評論加載不正確的 bug fix: 修復 facebook 評論數無法加載的 bug
26 lines
1005 B
Plaintext
26 lines
1005 B
Plaintext
each name in theme.comments.use
|
|
case name
|
|
when 'Valine'
|
|
!=partial('includes/third-party/comments/valine', {}, {cache: true})
|
|
when 'Disqus'
|
|
include ./disqus.pug
|
|
when 'Disqusjs'
|
|
include ./disqusjs.pug
|
|
when 'Livere'
|
|
!=partial('includes/third-party/comments/livere', {}, {cache: true})
|
|
when 'Gitalk'
|
|
include ./gitalk.pug
|
|
when 'Utterances'
|
|
!=partial('includes/third-party/comments/utterances', {}, {cache: true})
|
|
when 'Twikoo'
|
|
!=partial('includes/third-party/comments/twikoo', {}, {cache: true})
|
|
when 'Waline'
|
|
!=partial('includes/third-party/comments/waline', {}, {cache: true})
|
|
when 'Giscus'
|
|
!=partial('includes/third-party/comments/giscus', {}, {cache: true})
|
|
when 'Facebook Comments'
|
|
include ./facebook_comments.pug
|
|
when 'Remark42'
|
|
!=partial('includes/third-party/comments/remark42', {}, {cache: true})
|
|
when 'Artalk'
|
|
!=partial('includes/third-party/comments/artalk', {}, {cache: true}) |