mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-17 04:40:53 +08:00
2. Feature: 增加頁面排版,可選擇把右邊欄放在左邊 3. Feature: 增加 Note (Bootstrap Callout) (移植於next主題) 4. Feature: 手機上能夠查看TOC 5. Feature: 增加直達評論按鈕 6. Fix: 修復post頁在寬度1024px下的顯示bug 7. Fix: 修復代碼框部分語言沒有顯示正確的代碼語言 8. Fix: 修復設置裏把Disqus註釋掉無法運行的bug
35 lines
968 B
Plaintext
35 lines
968 B
Plaintext
if theme.disqus && theme.disqus.enable
|
|
hr
|
|
#post-comment
|
|
.comment_headling
|
|
i.fa.fa-comments.fa-fw(aria-hidden="true")
|
|
span= ' ' + _p('comment')
|
|
include ./disqus.pug
|
|
else if theme.laibili && theme.laibili.enable
|
|
hr
|
|
#post-comment
|
|
.comment_headling
|
|
i.fa.fa-comments.fa-fw(aria-hidden="true")
|
|
span= ' ' + _p('comment')
|
|
include ./laibili.pug
|
|
else if theme.gitment && theme.gitment.enable
|
|
hr
|
|
#post-comment
|
|
.comment_headling
|
|
i.fa.fa-comments.fa-fw(aria-hidden="true")
|
|
span= ' ' + _p('comment')
|
|
include ./gitment.pug
|
|
else if theme.gitalk && theme.gitalk.enable
|
|
hr
|
|
#post-comment
|
|
.comment_headling
|
|
i.fa.fa-comments.fa-fw(aria-hidden="true")
|
|
span= ' ' + _p('comment')
|
|
include ./gitalk.pug
|
|
else if theme.valine && theme.valine.enable
|
|
hr
|
|
#post-comment
|
|
.comment_headling
|
|
i.fa.fa-comments.fa-fw(aria-hidden="true")
|
|
span= ' ' + _p('comment')
|
|
include ./valine.pug |