hexo-theme-shokax
Advanced tools
Comparing version 0.1.3 to 0.1.4
{ | ||
"name": "hexo-theme-shokax", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "a hexo theme based on shoka", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -46,3 +46,4 @@ /* global hexo */ | ||
}, | ||
playerAPI: theme.playerAPI | ||
playerAPI: theme.playerAPI, | ||
disableVL: theme.disableVL | ||
} | ||
@@ -49,0 +50,0 @@ |
@@ -29,2 +29,4 @@ /* global hexo */ | ||
return img | ||
} else if (hexo.theme.config.experiments?.usingRelative) { // support relative url | ||
return img | ||
} else { | ||
@@ -31,0 +33,0 @@ console.warn("sinaimg blocked all request from outside website,so don't use this format") |
@@ -609,3 +609,5 @@ const cardActive = function () { | ||
autoDarkmode(); | ||
visibilityListener(); | ||
if (!CONFIG.disableVL) { | ||
visibilityListener(); | ||
} | ||
themeColorListener(); | ||
@@ -612,0 +614,0 @@ algoliaSearch(pjax); |
Sorry, the diff of this file is not supported yet
513900
5143