hexo-theme-shokax 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
package/_config.yml
CHANGED
@@ -23,14 +23,14 @@ pwa:
|
|
23
23
|
experiments:
|
24
24
|
noPlayer: false # 禁用音乐播放器
|
25
25
|
gradient: false # 使用CSS渐变作为文章封面
|
26
|
-
|
26
|
+
fixedCover: "" # 主页面cover(为空则使用bing随机图片)
|
27
27
|
debug: false # 使用debug模式启动
|
28
28
|
disableThemeComment: false # 禁用主题评论系统(一般用于关闭评论或让插件接管评论系统)
|
29
29
|
usingRelative: false # _image.yml 使用相对路径
|
30
30
|
|
31
31
|
playerAPI: "https://api.injahow.cn" # 结尾不带/,只填写域名
|
32
32
|
# 如果条件允许,请参考 https://github.com/injahow/meting-api 自建API
|
33
|
-
#
|
33
|
+
# 使用vercel自行部署,请参考: https://github.com/xizeyoupan/Meting-API
|
34
34
|
|
35
35
|
disableVL: false # 禁用可见度监听
|
36
36
|
|
@@ -39,10 +39,10 @@ icon:
|
|
39
39
|
apple_touch_icon: "/apple-touch-icon.png"
|
40
40
|
|
41
41
|
seo:
|
42
|
-
bing:
|
43
|
-
google:
|
44
|
-
yandex:
|
45
|
-
baidu:
|
42
|
+
bing:
|
43
|
+
google:
|
44
|
+
yandex:
|
45
|
+
baidu:
|
46
46
|
|
47
47
|
visitor:
|
48
48
|
clarity: false
|
package/languages/zh-CN.yml
CHANGED
@@ -31,9 +31,9 @@ html(lang=page.language?page.language:config.language, style=theme.grayMode ? 'f
|
|
31
31
|
|
32
32
|
!= partial('_partials/header.pug', {}, {cache: true})
|
33
33
|
div(id="imgs" class="pjax")
|
34
|
-
if theme.experiments.gradient
|
34
|
+
if theme.experiments.gradient || theme.experiments.fixedCover
|
35
35
|
//- cover不可用时用Bing随机图片代替
|
36
|
-
- var coverImage = theme
|
36
|
+
- var coverImage = theme.experiments.fixedCover || "https://7ed.net/bing/api"
|
37
37
|
img(src=coverImage)
|
38
38
|
else
|
39
39
|
- var covers = _cover(page, 6)
|
package/package.json
CHANGED