mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-10-04 06:22:00 +08:00
Merge branch 'dev'
This commit is contained in:
commit
6e0b29080d
30 files changed
+224
-169
No files matched your search
@@ -88,7 +88,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
script.
|
script.
|
||||||
const GLOBAL_CONFIG = {
|
const GLOBAL_CONFIG = {
|
||||||
root: '!{config.root}',
|
root: '!{config.root}',
|
||||||
algolia: !{algolia},
|
algolia: !{algolia},
|
||||||
localSearch: !{localSearch},
|
localSearch: !{localSearch},
|
||||||
@@ -127,5 +127,6 @@ script.
|
|||||||
percent: {
|
percent: {
|
||||||
toc: !{theme.toc.scroll_percent},
|
toc: !{theme.toc.scroll_percent},
|
||||||
rightside: !{theme.rightside_scroll_percent},
|
rightside: !{theme.rightside_scroll_percent},
|
||||||
}
|
},
|
||||||
|
autoDarkmode: !{theme.darkmode.enable && theme.darkmode.autoChangeMode === 1}
|
||||||
}
|
}
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
if theme.abcjs.enable
|
if theme.abcjs && theme.abcjs.enable
|
||||||
if theme.abcjs.per_page
|
if theme.abcjs.per_page
|
||||||
if is_post() || is_page()
|
if is_post() || is_page()
|
||||||
include ./abcjs.pug
|
include ./abcjs.pug
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ script.
|
|||||||
(() => {
|
(() => {
|
||||||
const getArtalkCount = () => {
|
const getArtalkCount = () => {
|
||||||
const runWidget = () => {
|
const runWidget = () => {
|
||||||
Artalk.LoadCountWidget({
|
Artalk.loadCountWidget({
|
||||||
server: '!{server}',
|
server: '!{server}',
|
||||||
site: '!{site}',
|
site: '!{site}',
|
||||||
countEl: '.artalk-count'
|
countEl: '.artalk-count'
|
||||||
|
|||||||
Loaded 3 of 30 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user