mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-06-05 21:01:46 +08:00
新增HexoPlusPlus的说说
This commit is contained in:
@@ -49,6 +49,10 @@ if (theme.pwa && theme.pwa.enable)
|
||||
link(rel='stylesheet', href=url_for(theme.CDN.main_css))
|
||||
link(rel='stylesheet', href=url_for(theme.CDN.fontawesome) media="print" onload="this.media='all'")
|
||||
|
||||
if theme.hexoplusplus.enable
|
||||
script(src=url_for(theme.hexoplusplus.talk.hpptalk))
|
||||
link(rel='stylesheet', href=url_for(theme.hexoplusplus.talk.hpptalk_css))
|
||||
|
||||
if (theme.snackbar && theme.snackbar.enable)
|
||||
link(rel='stylesheet', href=url_for(theme.CDN.snackbar_css) media="print" onload="this.media='all'")
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
if top_img === false
|
||||
h1.page-title= page.title
|
||||
|
||||
#hpp_talk
|
||||
script.
|
||||
|
||||
new hpp_talk({
|
||||
id:"hpp_talk",
|
||||
domain: "!{theme.hexoplusplus.domain}",
|
||||
limit: !{theme.hexoplusplus.talk.limit},
|
||||
start: !{theme.hexoplusplus.talk.start}
|
||||
});
|
||||
@@ -11,6 +11,8 @@ block content
|
||||
include includes/page/categories.pug
|
||||
when 'artitalk'
|
||||
include includes/page/artitalk.pug
|
||||
when 'hpptalk'
|
||||
include includes/page/hpptalk.pug
|
||||
default
|
||||
include includes/page/default-page.pug
|
||||
|
||||
|
||||
Reference in New Issue
Block a user