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 +21 -21
- package/languages/en.yml +4 -0
- package/languages/zh-CN.yml +4 -0
- package/languages/zh-HK.yml +4 -0
- package/languages/zh-TW.yml +4 -0
- package/package.json +3 -2
- package/scripts/index.js +1 -0
- package/source/css/_pages/_base/base.styl +3 -4
- package/source/css/_pages/_base/color-schema.styl +4 -0
- package/source/css/_pages/_post/highlight.styl +5 -4
- package/source/css/_pages/_post/markdown.styl +4 -4
- package/source/css/_pages/_post/post-tag.styl +50 -18
- package/source/css/_variables/base.styl +1 -1
- package/source/img/chat/responder.jpg +0 -0
- package/source/img/chat/sender.jpg +0 -0
- package/source/img/default8.jpg +0 -0
- package/source/js/post/img-swipe.js +6 -3
- package/templates/Chat.vue +52 -0
- package/templates/GroupImage.vue +36 -0
- package/templates/MenuNav.vue +39 -0
- package/templates/Note.vue +33 -0
- package/templates/Noun.vue +25 -0
- package/templates/NounContent.vue +29 -0
- package/templates/Tab.vue +40 -0
- package/templates/utils/uri.ts +30 -2
- package/templates/noun.vue +0 -15
package/config/links.yml
CHANGED
@@ -1,59 +1,59 @@
|
|
1
1
|
css:
|
2
|
-
- //cdn.
|
2
|
+
- //cdn.staticfile.net/bootstrap/5.3.2/css/bootstrap.min.css
|
3
3
|
- main.css
|
4
4
|
js:
|
5
|
-
- //
|
6
|
-
- //cdn.
|
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.
|
12
|
+
- //cdn.staticfile.net/nprogress/0.2.0/nprogress.min.css
|
13
13
|
js:
|
14
|
-
- //cdn.
|
14
|
+
- //cdn.staticfile.net/nprogress/0.2.0/nprogress.min.js
|
15
15
|
|
16
16
|
# 文章标题生成目录导航栏
|
17
17
|
tocbot:
|
18
18
|
js:
|
19
|
-
- //cdn.
|
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
|
-
- //
|
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
|
-
- //
|
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
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
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
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
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
|
-
- //
|
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
package/languages/zh-CN.yml
CHANGED
package/languages/zh-HK.yml
CHANGED
package/languages/zh-TW.yml
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "hexo-theme-lnote",
|
3
|
-
"version": "1.2.
|
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__/
|
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",
|