Merge branch 'dev'

This commit is contained in:
Jerry committed 2023-05-09 00:43:22 +08:00
commit 6e0b29080d
30 files changed
+224 -169

No files matched your search

+3 -2
View File
@@ -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
View File
@@ -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
View File
@@ -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