hexo-theme-volantis 5.7.0 → 5.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [5.7.1](https://github.com/volantis-x/hexo-theme-volantis/compare/v5.7.0...v5.7.1) (2022-07-26)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * drop node 14 ([694046b](https://github.com/volantis-x/hexo-theme-volantis/commit/694046b934be663001226fedd4fb6b2535ec9d59))
9
+
3
10
  ## [5.7.0](https://github.com/volantis-x/hexo-theme-volantis/compare/v5.6.0...v5.7.0) (2022-07-15)
4
11
 
5
12
 
package/_config.yml CHANGED
@@ -46,7 +46,7 @@ cdn:
46
46
  # CDN 前缀,为空使用默认值,链接最后不加 "/",
47
47
  # 例如: https://cdn.jsdelivr.net/gh/volantis-x/volantis-x.github.io@gh-page 填写最后编译生成的源码CDN地址前缀,此路径下应该含有/js与/css目录,
48
48
  # 该配置默认值是:"https://unpkg.com/hexo-theme-volantis@"+ theme.info.theme_version +"/source"
49
- prefix: #https://npm.elemecdn.com/hexo-theme-volantis/source
49
+ prefix: #https://unpkg.com/hexo-theme-volantis/source
50
50
  # 以下配置可以覆盖 cdn.prefix,配置项的值可以为空,但是要使用CDN必须依据路径填写配置项的键
51
51
  set:
52
52
  js:
@@ -64,13 +64,13 @@ volantis_static_cdn: https://unpkg.com/volantis-static@0.0.1654736714924/
64
64
  # 全局页面字符串替换 A => B (可用于临时修改错字等)
65
65
  replace:
66
66
  - https://cdn.jsdelivr.net/npm/ => https://unpkg.com/
67
- - https://cdn.jsdelivr.net/gh/ => https://fastly.jsdelivr.net/gh/
68
- # - https://unpkg.com/ => https://npm.elemecdn.com/
67
+ - https://cdn.jsdelivr.net/gh/ => https://gcore.jsdelivr.net/gh/
68
+
69
69
 
70
70
  # dns-prefetch preconnect x-dns-prefetch-control
71
71
  dns_prefetch:
72
72
  - https://unpkg.com
73
- # - https://npm.elemecdn.com
73
+
74
74
 
75
75
  # 平滑滚动效果
76
76
  scroll_smooth: true
@@ -113,7 +113,7 @@ cover:
113
113
  home: true
114
114
  archive: true
115
115
  others: false # can be written in front-matter 'cover: true'
116
- background: https://fastly.jsdelivr.net/gh/MHG-LAB/cron@gh-pages/bing/bing.jpg
116
+ background: https://gcore.jsdelivr.net/gh/MHG-LAB/cron@gh-pages/bing/bing.jpg
117
117
  # background: https://bing.ioliu.cn/v1/rand?w=1920&h=1200
118
118
  logo: # https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/blog/Logo-Cover@3x.png
119
119
  title: 'Volantis'
@@ -201,7 +201,7 @@ article:
201
201
  icon: fa-solid fa-bookmark
202
202
  max_count: 5
203
203
  # 设为空则不使用文章头图
204
- placeholder_img: https://uploadbeta.com/api/pictures/random/?key=BingEverydayWallpaperPicture
204
+ placeholder_img: https://gcore.jsdelivr.net/gh/MHG-LAB/cron@gh-pages/bing/bing.jpg
205
205
  # ----------------
206
206
  # 版权声明组件 (for layout: post)
207
207
  copyright:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-volantis",
3
- "version": "5.7.0",
3
+ "version": "5.7.1",
4
4
  "description": "Elegant and powerful theme for Hexo.",
5
5
  "main": "package.json",
6
6
  "scripts": {
@@ -12,9 +12,9 @@ module.exports =(hexo) => {
12
12
  CheckError(hexo,`node.js: ${err}`);
13
13
  }
14
14
  let nodeVersion = stdout.match(/v(\d*)/)[1];
15
- if (nodeVersion<14) {
15
+ if (nodeVersion<16) {
16
16
  hexo.log.info(`node.js 版本:${stdout}`);
17
- CheckError(hexo,`node.js 版本过低,请升级至 v14.x 以上版本!`);
17
+ CheckError(hexo,`node.js 版本过低,请升级至 v16.x 及以上版本!`);
18
18
  }else{
19
19
  exec('hexo -v', (err, stdout, stderr) => {
20
20
  if (err) {
@@ -69,4 +69,4 @@ function CheckConfError(hexo,msg) {
69
69
  ${msg}
70
70
  ============================================================`);
71
71
  throw new Error('配置文件检查失败!| Configuration check failed!');
72
- }
72
+ }