hexo-theme-lnote 1.2.5 → 1.2.6

Sign up to get free protection for your applications and to get access to all the features.
package/config/links.yml CHANGED
@@ -1,59 +1,59 @@
1
1
  css:
2
- - //cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.3.1/css/bootstrap.min.css
2
+ - //cdn.staticfile.net/bootstrap/5.3.2/css/bootstrap.min.css
3
3
  - main.css
4
4
  js:
5
- - //lib.baomitu.com/typed.js/2.0.12/typed.min.js
6
- - //cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.3.1/js/bootstrap.bundle.min.js
5
+ - //cdn.staticfile.net/typed.js/2.1.0/typed.umd.min.js
6
+ - //cdn.staticfile.net/bootstrap/5.3.2/js/bootstrap.bundle.min.js
7
7
  - local-search.js
8
8
  - events.js
9
9
 
10
10
  nprogress:
11
11
  css:
12
- - //cdn.bootcdn.net/ajax/libs/nprogress/0.2.0/nprogress.min.css
12
+ - //cdn.staticfile.net/nprogress/0.2.0/nprogress.min.css
13
13
  js:
14
- - //cdn.bootcdn.net/ajax/libs/nprogress/0.2.0/nprogress.min.js
14
+ - //cdn.staticfile.net/nprogress/0.2.0/nprogress.min.js
15
15
 
16
16
  # 文章标题生成目录导航栏
17
17
  tocbot:
18
18
  js:
19
- - //cdn.bootcdn.net/ajax/libs/tocbot/4.9.1/tocbot.min.js
19
+ - //cdn.staticfile.net/tocbot/4.25.0/tocbot.min.js
20
20
  - post/toc.js
21
21
 
22
22
  # 复制代码
23
23
  clipboard:
24
24
  js:
25
- - //lib.baomitu.com/clipboard.js/latest/clipboard.min.js
25
+ - //cdn.staticfile.net/clipboard.js/2.0.11/clipboard.min.js
26
26
  - post/copying-code.js
27
27
 
28
28
  # https://photoswipe.com/
29
29
  photoswipe:
30
30
  esm: true
31
31
  css:
32
- - //lib.baomitu.com/photoswipe/5.4.2/photoswipe.min.css
32
+ - //cdn.staticfile.net/photoswipe/5.4.2/photoswipe.min.css
33
33
  js:
34
34
  # - //lib.baomitu.com/photoswipe/5.4.2/umd/photoswipe.umd.min.js
35
35
  # - //lib.baomitu.com/photoswipe/5.4.2/umd/photoswipe-lightbox.umd.min.js
36
36
  - post/img-swipe.js
37
37
 
38
- viewerjs:
39
- css:
40
- - //lib.baomitu.com/viewerjs/1.11.6/viewer.min.css
41
- js:
42
- - //lib.baomitu.com/viewerjs/1.11.6/viewer.min.js
43
- - post/view-imgs.js
38
+ # viewerjs:
39
+ # css:
40
+ # - //lib.baomitu.com/viewerjs/1.11.6/viewer.min.css
41
+ # js:
42
+ # - //lib.baomitu.com/viewerjs/1.11.6/viewer.min.js
43
+ # - post/view-imgs.js
44
44
 
45
45
  # https://kangkai124.github.io/fancybox/
46
- fancybox:
47
- css:
48
- - //lib.baomitu.com/fancybox/3.5.7/jquery.fancybox.min.css
49
- js:
50
- - //lib.baomitu.com/fancybox/3.5.7/jquery.fancybox.min.js
51
- - post/play-imgs.js
46
+ # fancybox:
47
+ # css:
48
+ # - //lib.baomitu.com/fancybox/3.5.7/jquery.fancybox.min.css
49
+ # js:
50
+ # - //lib.baomitu.com/fancybox/3.5.7/jquery.fancybox.min.js
51
+ # - post/play-imgs.js
52
52
 
53
53
  # 流程图
54
54
  mermaid:
55
55
  js:
56
- - //lib.baomitu.com/mermaid/10.6.1/mermaid.min.js
56
+ - //cdn.staticfile.net/mermaid/10.7.0/mermaid.min.js
57
57
  - post/mermaiding.js
58
58
 
59
59
 
package/languages/en.yml CHANGED
@@ -66,4 +66,8 @@ search:
66
66
  title: 'Search'
67
67
  keyword: 'Keyword'
68
68
 
69
+ noun:
70
+ prompt: 'Parsing instructions'
71
+ more: 'Click here to see more'
72
+
69
73
  noscript_warning: 'LNote works best with JavaScript enabled'
@@ -66,4 +66,8 @@ search:
66
66
  title: '搜索'
67
67
  keyword: '关键词'
68
68
 
69
+ noun:
70
+ prompt: '解析说明'
71
+ more: '点击查看更多'
72
+
69
73
  noscript_warning: 'LNote 在允许 JavaScript 运行的环境下浏览效果更佳'
@@ -66,4 +66,8 @@ search:
66
66
  title: '搜尋'
67
67
  keyword: '關鍵字'
68
68
 
69
+ noun:
70
+ prompt: '解析說明'
71
+ more: '點擊查看更多'
72
+
69
73
  noscript_warning: 'LNote 在允許 JavaScript 運行的環境下瀏覽效果更佳'
@@ -66,4 +66,8 @@ search:
66
66
  title: '搜尋'
67
67
  keyword: '關鍵字'
68
68
 
69
+ noun:
70
+ prompt: '解析說明'
71
+ more: '點擊查看更多'
72
+
69
73
  noscript_warning: 'LNote 在允許 JavaScript 運行的環境下瀏覽效果更佳'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-lnote",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "description": "An elegant Material-Design theme for Hexo.",
5
5
  "main": "package.json",
6
6
  "types": "index.d.ts",
@@ -17,7 +17,7 @@
17
17
  "scripts": {
18
18
  "test": "jest --coverage --silent --watchAll=false",
19
19
  "unit": "jest --watchAll",
20
- "unit-spec": "jest --watchAll --verbose ./src/utils/__test__/htmlEl.test.ts",
20
+ "unit-spec": "jest --watchAll --verbose ./src/utils/__test__/ymlConf.test.ts",
21
21
  "dev": "npx webpack --watch --config webpack.dev.js",
22
22
  "build": "npx webpack --config webpack.config.js"
23
23
  },
@@ -41,6 +41,7 @@
41
41
  "@types/css": "^0.0.35",
42
42
  "@types/hexo-util": "^0.6.7",
43
43
  "@types/jest": "^29.5.6",
44
+ "@types/lodash": "^4.14.202",
44
45
  "@types/minimist": "^1.2.4",
45
46
  "@types/node": "^20.8.9",
46
47
  "@types/nunjucks": "^3.2.6",