hexo-theme-solitude 1.5.11 → 1.6.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/.github/logo.svg +44 -10
- package/README.md +22 -2
- package/README_zh-cn.md +22 -2
- package/README_zh-tw.md +22 -2
- package/_config.yml +107 -107
- package/languages/en.yml +45 -63
- package/languages/zh-CN.yml +32 -55
- package/languages/zh-TW.yml +32 -55
- package/layout/404.pug +1 -1
- package/layout/includes/console.pug +5 -5
- package/layout/includes/footer.pug +7 -7
- package/layout/includes/head/config.pug +15 -9
- package/layout/includes/head/opengraph.pug +2 -2
- package/layout/includes/head/pwa.pug +6 -6
- package/layout/includes/head.pug +1 -1
- package/layout/includes/inject/body.pug +0 -4
- package/layout/includes/inject/head.pug +1 -2
- package/layout/includes/keyboard.pug +1 -1
- package/layout/includes/loading.pug +1 -1
- package/layout/includes/nav.pug +1 -1
- package/layout/includes/sidebar.pug +19 -3
- package/layout/includes/widgets/home/banner.pug +1 -1
- package/layout/includes/widgets/home/categoryBar.pug +2 -2
- package/layout/includes/widgets/home/categoryGroup.pug +0 -1
- package/layout/includes/widgets/home/postList.pug +74 -29
- package/layout/includes/widgets/home/topGroup.pug +2 -2
- package/layout/includes/widgets/nav/group.pug +2 -2
- package/layout/includes/widgets/nav/right.pug +1 -1
- package/layout/includes/widgets/page/about/award.pug +8 -9
- package/layout/includes/widgets/page/about/hobbies.pug +1 -1
- package/layout/includes/widgets/page/about/other.pug +1 -1
- package/layout/includes/widgets/page/banner.pug +1 -1
- package/layout/includes/widgets/page/links/banner.pug +5 -4
- package/layout/includes/widgets/page/moments/angle.pug +1 -1
- package/layout/includes/widgets/post/award.pug +10 -15
- package/layout/includes/widgets/post/copyright.pug +2 -2
- package/layout/includes/widgets/post/postMeta.pug +10 -10
- package/layout/includes/widgets/randomlink.pug +3 -2
- package/layout/includes/widgets/third-party/comments/twikoo.pug +1 -0
- package/layout/includes/widgets/third-party/comments/waline.pug +1 -0
- package/layout/page.pug +1 -1
- package/package.json +1 -1
- package/plugins.yml +0 -4
- package/scripts/event/cdn.js +6 -11
- package/scripts/event/merge_config.js +19 -3
- package/scripts/event/welcome.js +2 -2
- package/scripts/filter/checkThemeConfig.js +2 -2
- package/scripts/filter/default.js +4 -2
- package/scripts/filter/lazyload.js +18 -5
- package/scripts/filter/randomPosts.js +1 -1
- package/scripts/helper/stylus.js +8 -14
- package/source/css/{_widgets/_comment → _comments}/index.styl +14 -1
- package/source/css/{_widgets/_comment → _comments}/twikoo.styl +3 -0
- package/source/css/_global/index.styl +362 -1
- package/source/css/_highlight/prismjs/line-number.styl +1 -1
- package/source/css/{_widgets/_mixins → _layout}/article-sort.styl +1 -1
- package/source/css/_layout/aside.styl +751 -0
- package/source/css/_layout/capsule.styl +213 -0
- package/source/css/{_widgets/_extra → _layout}/console.styl +7 -6
- package/source/css/{_widgets/_mixins → _layout}/footer.styl +1 -0
- package/source/css/_layout/fullpage.styl +47 -0
- package/source/css/_layout/header.styl +2 -0
- package/source/css/_layout/keyboard.styl +60 -0
- package/source/css/_layout/pace.styl +40 -0
- package/source/css/_layout/rightmenu.styl +79 -0
- package/source/css/{_widgets/_mixins → _layout}/sidebar.styl +30 -20
- package/source/css/_layout/universe.styl +18 -0
- package/source/css/_page/_home/home-top.styl +2 -4
- package/source/css/_page/_home/recent-post.styl +407 -170
- package/source/css/_page/douban.styl +111 -109
- package/source/css/_page/links.styl +5 -5
- package/source/css/_page/share.styl +1 -17
- package/source/css/{_widgets/_post → _post}/content.styl +13 -3
- package/source/css/{_widgets/_post → _post}/tools.styl +3 -9
- package/source/css/index.styl +20 -5
- package/source/css/third_party/snackbar.min.css +1 -0
- package/source/css/{_global/var.styl → var.styl} +7 -1
- package/source/img/avatar.png +0 -0
- package/source/img/default.png +0 -0
- package/source/img/flower.gif +0 -0
- package/source/img/pwa/favicon.ico +0 -0
- package/source/img/pwa/favicon_128.ico +0 -0
- package/source/img/pwa/favicon_16.ico +0 -0
- package/source/img/pwa/favicon_256.ico +0 -0
- package/source/img/pwa/favicon_32.ico +0 -0
- package/source/js/{comment/twikoo_commentBarrage.js → commentBarrage/twikoo.js} +0 -6
- package/source/js/{comment/waline_commentBarrage.js → commentBarrage/waline.js} +0 -2
- package/source/js/main.js +73 -71
- package/source/js/utils.js +1 -1
- package/layout/includes/recent-posts.pug +0 -9
- package/layout/includes/widgets/rightside/index.pug +0 -87
- package/source/css/_layout/basic.styl +0 -308
- package/source/css/_layout/index.styl +0 -125
- package/source/css/_widgets/_aside/allinfo.styl +0 -168
- package/source/css/_widgets/_aside/flip.styl +0 -67
- package/source/css/_widgets/_aside/index.styl +0 -90
- package/source/css/_widgets/_aside/info.styl +0 -263
- package/source/css/_widgets/_aside/newPost.styl +0 -61
- package/source/css/_widgets/_aside/toc.styl +0 -108
- package/source/css/_widgets/_aside/welcome.styl +0 -14
- package/source/css/_widgets/_extra/fullpage.styl +0 -46
- package/source/css/_widgets/_extra/music.styl +0 -218
- package/source/css/_widgets/_extra/pace.styl +0 -39
- package/source/css/_widgets/_extra/rightmenu.styl +0 -78
- package/source/css/_widgets/_mixins/keyboard.styl +0 -59
- package/source/css/_widgets/index.styl +0 -56
- package/source/img/logo.png +0 -0
- package/source/js/rightside.js +0 -221
- /package/source/css/{_widgets/_comment → _comments}/waline.styl +0 -0
- /package/source/css/{_widgets/_mixins → _layout}/other.styl +0 -0
- /package/source/css/{_widgets/_post → _post}/commentBarrage.styl +0 -0
- /package/source/css/{_widgets/_post → _post}/copyright.styl +0 -0
- /package/source/css/{_widgets/_post → _post}/index.styl +0 -0
- /package/source/css/{_widgets/_post → _post}/meta.styl +0 -0
- /package/source/css/{_widgets/_post → _post}/pagination.styl +0 -0
- /package/source/css/{_widgets/_post → _post}/postAI.styl +0 -0
- /package/source/css/{_widgets/_post → _post}/relatedPost.styl +0 -0
- /package/source/css/{_widgets/_search → _search}/algolia-search.styl +0 -0
- /package/source/css/{_widgets/_search → _search}/local-search.styl +0 -0
- /package/source/css/{_widgets/_tags → _tags}/button.styl +0 -0
- /package/source/css/{_widgets/_tags → _tags}/checkbox.styl +0 -0
- /package/source/css/{_widgets/_tags → _tags}/fold.styl +0 -0
- /package/source/css/{_widgets/_tags → _tags}/gallery.styl +0 -0
- /package/source/css/{_widgets/_tags → _tags}/index.styl +0 -0
- /package/source/css/{_widgets/_tags → _tags}/label.styl +0 -0
- /package/source/css/{_widgets/_tags → _tags}/link.styl +0 -0
- /package/source/css/{_widgets/_tags → _tags}/media.styl +0 -0
- /package/source/css/{_widgets/_tags → _tags}/mermaid.styl +0 -0
- /package/source/css/{_widgets/_tags → _tags}/note.styl +0 -0
- /package/source/css/{_widgets/_tags → _tags}/span.styl +0 -0
- /package/source/css/{_widgets/_tags → _tags}/tabs.styl +0 -0
- /package/source/css/{_widgets/_tags → _tags}/timeline.styl +0 -0
- /package/source/js/{lately.min.js → third_party/lately.min.js} +0 -0
- /package/source/js/{sco-ai.min.js → third_party/sco-ai.min.js} +0 -0
- /package/source/js/{universe.min.js → third_party/universe.min.js} +0 -0
- /package/source/js/{waterfall.min.js → third_party/waterfall.min.js} +0 -0
package/.github/logo.svg
CHANGED
@@ -1,13 +1,47 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
<
|
7
|
-
<
|
8
|
-
|
9
|
-
|
10
|
-
<
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<svg width="167px" height="382px" viewBox="0 0 167 382" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
3
|
+
<title>logo</title>
|
4
|
+
<defs>
|
5
|
+
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-1">
|
6
|
+
<stop stop-color="#FECCCC" offset="0%"></stop>
|
7
|
+
<stop stop-color="#39BDE4" offset="100%"></stop>
|
8
|
+
</linearGradient>
|
9
|
+
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-2">
|
10
|
+
<stop stop-color="#FECCCC" offset="0%"></stop>
|
11
|
+
<stop stop-color="#39BDE4" offset="100%"></stop>
|
12
|
+
</linearGradient>
|
13
|
+
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-3">
|
14
|
+
<stop stop-color="#FECCCC" offset="0%"></stop>
|
15
|
+
<stop stop-color="#39BDE4" offset="100%"></stop>
|
16
|
+
</linearGradient>
|
17
|
+
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-4">
|
18
|
+
<stop stop-color="#FECCCC" offset="0%"></stop>
|
19
|
+
<stop stop-color="#39BDE4" offset="100%"></stop>
|
20
|
+
</linearGradient>
|
21
|
+
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-5">
|
22
|
+
<stop stop-color="#FECCCC" offset="0%"></stop>
|
23
|
+
<stop stop-color="#39BDE4" offset="100%"></stop>
|
24
|
+
</linearGradient>
|
25
|
+
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-6">
|
26
|
+
<stop stop-color="#FECCCC" offset="0%"></stop>
|
27
|
+
<stop stop-color="#39BDE4" offset="100%"></stop>
|
28
|
+
</linearGradient>
|
29
|
+
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-7">
|
30
|
+
<stop stop-color="#FECCCC" offset="0%"></stop>
|
31
|
+
<stop stop-color="#39BDE4" offset="100%"></stop>
|
32
|
+
</linearGradient>
|
33
|
+
</defs>
|
34
|
+
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
35
|
+
<g id="画板" transform="translate(-167, -59)" fill-rule="nonzero">
|
36
|
+
<g id="logo" transform="translate(167, 59)">
|
37
|
+
<path d="M41.451978,366.819156 C63.2265115,314.167618 167.050853,309.635807 118.99746,228.707504 C153.639423,313.979396 6.78825531,314.963943 26.3287594,382 C12.5619158,361.643046 18.1905094,334.473897 37.7672802,320.255882 C54.8416479,307.145482 77.6751693,304.944731 94.4956701,291.066964 C124.038533,271.079215 120.593196,234.976751 96.7006861,211.861618 C96.0188719,211.181122 95.003404,210.544062 94.0822296,210.449951 C86.4807269,209.660866 78.8719708,208.915216 71.2487081,208.328832 C57.1699707,207.250174 43.5046739,208.806627 30.7315382,215.314771 C27.2426805,217.088403 23.7393162,218.348044 19.8007514,216.943617 C24.2397968,216.06042 28.6425756,215.162745 32.3272735,212.411806 C32.2692467,212.180148 32.2184733,211.948489 32.1604466,211.716831 C29.7523369,212.107754 27.6996411,213.041626 25.1537179,212.940276 C38.187974,204.006961 24.0149432,203.340944 16,204.796046 C43.9108611,184.243631 36.1280248,151.550884 84.6746446,161.273284 C101.270292,126.502854 113.695267,142.798552 133.649212,122 C130.261901,131.816511 125.583495,141.205903 121.347543,150.718363 C116.879484,161.895865 106.790085,163.495754 96.4178058,166.029514 C100.102504,164.921899 101.545919,167.404984 103.352001,169.641932 C129.057846,200.039816 157.962415,234.0284 155.895212,276.356675 C147.234722,323.376027 66.3744621,327.364889 41.451978,366.819156 L41.451978,366.819156 Z M71.3937749,171.88612 C61.1157889,177.641375 44.7957688,175.672282 47.1893718,192.474732 C52.5858584,180.23305 59.8754674,195.001253 71.3937749,171.88612 L71.3937749,171.88612 Z" id="形状" fill="url(#linearGradient-1)"></path>
|
38
|
+
<path d="M75.3032249,211.025533 C106.026327,209.673873 112.009852,262.374155 89.125744,277.126764 C55.0225258,300.451933 -10.1418056,326.335859 20.1569835,378.551856 C19.9915736,378.703647 19.8333554,378.848209 19.6679454,379 C-9.82536916,354.648437 3.54407043,308.728139 30.8798638,288.53275 C55.238278,268.041007 100.157869,249.385209 75.3032249,211.025533 Z" id="路径" fill="url(#linearGradient-2)"></path>
|
39
|
+
<path d="M131.122758,44.5611246 C140.518488,52.0520972 149.271959,60.2108697 155.377019,71.2803786 C171.087083,44.8006616 152.086349,16.9853448 131.534092,0 C163.329472,16.2086645 181.738463,59.2744981 151.913155,88.0552212 C133.150561,109.533698 83.0400028,127.861901 83.0688683,158 L70,158 C71.5587386,126.468232 104.321114,124.885836 92.9625284,113.344512 C85.81831,103.066201 82.6791837,91.7426379 83.3503072,78.4810034 C93.2511837,128.333716 119.56933,105.577709 144.877183,81.9216245 C153.58014,70.1480222 137.732964,54.0337208 131.122758,44.5683833 L131.122758,44.5611246 Z" id="路径" fill="url(#linearGradient-3)"></path>
|
40
|
+
<path d="M62.2292659,56 C43.1451334,63.2999022 18.3176548,75.3501886 23.7278434,99.6686688 C30.7965771,99.1456907 37.8363406,98.6299763 44.876104,98.1069982 C44.9195594,98.4120687 44.9702573,98.7098757 45.0137126,99.0149462 C19.0853656,102.879173 29.4711895,111.580947 43.5145037,123.362481 C55.1822598,131.44685 65.3290794,100.736416 71,93.4946222 C67.581514,101.470038 64.1123302,109.423663 60.7735123,117.428132 C58.0503116,124.916888 53.6395956,131.149043 60.9400911,137.555525 C65.7491476,143.279229 67.4946034,149.874563 66.5313436,157.399637 C62.9680065,158.25674 59.3322439,159.12837 55.6747536,160 C60.3462016,135.11496 44.3763678,137.097919 29.5001597,123.34069 C-1.69352472,93.7706384 26.1903121,58.760162 62.2292659,56 Z" id="路径" fill="url(#linearGradient-4)"></path>
|
41
|
+
<path d="M0.00732087227,143 C17.3943925,162.502948 36.3115265,145.13458 47,164.110998 C41.5898754,167.604594 37.7903427,172.386054 35.1401869,178 C21.3476636,175.47408 8.91682243,161.400081 0,143.007115 L0.00732087227,143 Z" id="路径" fill="url(#linearGradient-5)"></path>
|
42
|
+
<path d="M29,207.557191 C25.5771332,208.185531 23.8692728,211.545785 20.9966372,212.980039 C16.6591005,213.184933 12.6502732,211.853125 12,207.092765 C17.6309374,206.703468 22.740227,206.355149 27.8495166,206 L29,207.550361 L29,207.557191 Z" id="路径" fill="url(#linearGradient-6)"></path>
|
43
|
+
<path d="M66,177 C60.2942272,179.492077 52.7486034,178.10342 50,186 C56.264432,184.566305 62.8193669,184.123436 66,177 Z" id="路径" fill="url(#linearGradient-7)"></path>
|
44
|
+
</g>
|
11
45
|
</g>
|
12
46
|
</g>
|
13
47
|
</svg>
|
package/README.md
CHANGED
@@ -8,13 +8,33 @@
|
|
8
8
|
|
9
9
|
<p align="center">An elegant Hexo theme that supports lazy loading, PWA, Latex, and multiple comment systems.</p>
|
10
10
|
|
11
|
+

|
11
12
|

|
12
|
-

|
13
13
|

|
14
|
-

|
15
14
|
[](https://github.com/valor-x/hexo-theme-solitude/stargazers)
|
16
15
|
[](https://github.com/valor-x/hexo-theme-solitude/releases/latest)
|
17
16
|
|
17
|
+

|
18
|
+

|
19
|
+
|
20
|
+

|
21
|
+

|
22
|
+

|
23
|
+
|
24
|
+

|
25
|
+

|
26
|
+

|
27
|
+
[](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps)
|
28
|
+
|
29
|
+
[](https://twitter.com/efu_oo)
|
30
|
+
[](https://t.me/efuome)
|
31
|
+
|
32
|
+

|
33
|
+

|
34
|
+
|
35
|
+
[](https://gitee.com/nsjjd_w/hexo-theme-solitude)
|
36
|
+
[](https://gitlab.com/efu/hexo-theme-solitude)
|
37
|
+
|
18
38
|
[Preview](https://solitude-demo.efu.me/) 丨 [Documentation](https://solitude-docs.efu.me/)
|
19
39
|
|
20
40
|
</div>
|
package/README_zh-cn.md
CHANGED
@@ -8,13 +8,33 @@
|
|
8
8
|
|
9
9
|
<p align="center">一款优雅的 Hexo 主题,支持懒加载、PWA、Latex以及多种评论系统。</p>
|
10
10
|
|
11
|
+

|
11
12
|

|
12
|
-

|
13
13
|

|
14
|
-

|
15
14
|
[](https://github.com/valor-x/hexo-theme-solitude/stargazers)
|
16
15
|
[](https://github.com/valor-x/hexo-theme-solitude/releases/latest)
|
17
16
|
|
17
|
+

|
18
|
+

|
19
|
+
|
20
|
+

|
21
|
+

|
22
|
+

|
23
|
+
|
24
|
+

|
25
|
+

|
26
|
+

|
27
|
+
[](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps)
|
28
|
+
|
29
|
+
[](https://twitter.com/efu_oo)
|
30
|
+
[](https://t.me/efuome)
|
31
|
+
|
32
|
+

|
33
|
+

|
34
|
+
|
35
|
+
[](https://gitee.com/nsjjd_w/hexo-theme-solitude)
|
36
|
+
[](https://gitlab.com/efu/hexo-theme-solitude)
|
37
|
+
|
18
38
|
[预览](https://solitude-demo.efu.me/) 丨 [文档](https://solitude-docs.efu.me/)
|
19
39
|
|
20
40
|
</div>
|
package/README_zh-tw.md
CHANGED
@@ -8,13 +8,33 @@
|
|
8
8
|
|
9
9
|
<p align="center">一款優雅的 Hexo 主題,支援懶載入、PWA、Latex以及多種評論系統。</p>
|
10
10
|
|
11
|
+

|
11
12
|

|
12
|
-

|
13
13
|

|
14
|
-

|
15
14
|
[](https://github.com/valor-x/hexo-theme-solitude/stargazers)
|
16
15
|
[](https://github.com/valor-x/hexo-theme-solitude/releases/latest)
|
17
16
|
|
17
|
+

|
18
|
+

|
19
|
+
|
20
|
+

|
21
|
+

|
22
|
+

|
23
|
+
|
24
|
+

|
25
|
+

|
26
|
+

|
27
|
+
[](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps)
|
28
|
+
|
29
|
+
[](https://twitter.com/efu_oo)
|
30
|
+
[](https://t.me/efuome)
|
31
|
+
|
32
|
+

|
33
|
+

|
34
|
+
|
35
|
+
[](https://gitee.com/nsjjd_w/hexo-theme-solitude)
|
36
|
+
[](https://gitlab.com/efu/hexo-theme-solitude)
|
37
|
+
|
18
38
|
[預覽](https://solitude-demo.efu.me/) 丨 [文档](https://solitude-docs.efu.me/)
|
19
39
|
|
20
40
|
</div>
|
package/_config.yml
CHANGED
@@ -26,10 +26,10 @@ site:
|
|
26
26
|
custom: Solitude
|
27
27
|
# 网页icon
|
28
28
|
# Web icon
|
29
|
-
siteIcon: /img/
|
29
|
+
siteIcon: /img/pwa/favicon.ico
|
30
30
|
# 页脚的Logo、加载动画默认的logo
|
31
31
|
# Logo in the footer, default logo for loading animation
|
32
|
-
icon: /img/
|
32
|
+
icon: /img/avatar.png
|
33
33
|
|
34
34
|
# 导航栏
|
35
35
|
# NavBar
|
@@ -37,27 +37,27 @@ nav:
|
|
37
37
|
# logo 箱子
|
38
38
|
# logo group
|
39
39
|
group:
|
40
|
-
|
41
|
-
|
40
|
+
# 项目: # 分类名称
|
41
|
+
# Solitude: https://github.com/valor-x/hexo-theme-solitude || /img/logo.png # 子菜单名称(submenu name): 链接地址(address) || 图标(icon)
|
42
42
|
|
43
43
|
# 中心菜单
|
44
44
|
# center menu
|
45
45
|
menu:
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
46
|
+
# 首页: / # 显示名称:路径 / Display name: path
|
47
|
+
# 文库: # 显示名称 / Display name
|
48
|
+
# 文章列表: /archives/ || st-folder-fill # 子菜单名称:路径 || 图标 / Submenu name: path || icon
|
49
|
+
# 全部分类: /categories/ || st-checkbox-multiple-blank-fill
|
50
|
+
# 全部标签: /tags/ || st-price-tag-fill
|
51
|
+
# 友链:
|
52
|
+
# 友链鱼塘: /moments/ || st-wifi-fill
|
53
|
+
# 友情链接: /links/ || st-group-fill
|
54
|
+
# 宝藏博主: javascript:travelling() || st-gift-fill
|
55
|
+
# 我的:
|
56
|
+
# 装备: /equipment/ || st-laptop-line
|
57
|
+
# 工具箱: /tlink/ || st-tools-fill
|
58
|
+
# 音乐馆: /music/ || st-disc-fill
|
59
|
+
# 关于:
|
60
|
+
# 关于本站: /about/ || st-contacts-fill
|
61
61
|
|
62
62
|
# 右侧按钮
|
63
63
|
# Button on the right
|
@@ -69,11 +69,11 @@ nav:
|
|
69
69
|
# 左至右
|
70
70
|
# from left to right
|
71
71
|
custom:
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
72
|
+
# - name: 开往 - 友链接力 # 显示文字 / Displayed text
|
73
|
+
# url: https://www.travellings.cn/go.html # 跳转链接 / Jump link
|
74
|
+
# icon: st-train-line # 图标 / Icon
|
75
|
+
# onclick: # 点击事件 / Click event
|
76
|
+
# id: travellings_button # id
|
77
77
|
|
78
78
|
# 首页顶部样式
|
79
79
|
# Home top style
|
@@ -93,31 +93,31 @@ hometop:
|
|
93
93
|
# Carousel icon
|
94
94
|
# tip: 76x76 size
|
95
95
|
icon:
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
96
|
+
# HTML: # 名字 / Name
|
97
|
+
# img: https://7.isyangs.cn/34/65f2e42921677-34.png # 图片 / Image
|
98
|
+
# color: "#e9572b" # 背景色 / Background color
|
99
|
+
# JS:
|
100
|
+
# img: https://7.isyangs.cn/34/65f2e43ceddda-34.png
|
101
|
+
# color: "#f7cb4f"
|
102
|
+
# Docker:
|
103
|
+
# img: https://7.isyangs.cn/34/65f2e45462045-34.png
|
104
|
+
# color: "#57b6e6"
|
105
|
+
# Flutter:
|
106
|
+
# img: https://7.isyangs.cn/34/65f2e47acbe98-34.png
|
107
|
+
# color: "#ffffff"
|
108
|
+
# WebPack:
|
109
|
+
# img: https://7.isyangs.cn/34/65f2e488bf8ed-34.png
|
110
|
+
# color: "#2e3a41"
|
111
|
+
# Git:
|
112
|
+
# img: https://7.isyangs.cn/34/65f2e499066fa-34.png
|
113
|
+
# color: "#df5b40"
|
114
114
|
|
115
115
|
# 左下跳转按钮
|
116
116
|
# Banner lower left jump button
|
117
117
|
group:
|
118
|
-
|
119
|
-
|
120
|
-
|
118
|
+
# 热门: /tags/热门/ || st-fire-fill || linear-gradient(to right,#f65,#ffbf37)
|
119
|
+
# 教程: /tags/教程/ || st-book-mark-fill || linear-gradient(to right,#358bff,#15c6ff)
|
120
|
+
# 精选: /tags/精选/ || st-star-smile-fill || linear-gradient(to right,#18e7ae,#1eebeb)
|
121
121
|
|
122
122
|
# 右侧置顶列表(在文章的front matter中添加“recommend: true”)
|
123
123
|
# Right top list (add "recommend: true" in the front matter of the article)
|
@@ -199,15 +199,15 @@ aside:
|
|
199
199
|
# 个人信息卡片顶部按钮的切换文字
|
200
200
|
# Switching text of the button at the top of the personal information card
|
201
201
|
sayhello2:
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
202
|
+
# - 🤖️ 数码科技爱好者
|
203
|
+
# - 🔍 分享与热心帮助
|
204
|
+
# - 🏠 智能家居小能手
|
205
|
+
# - 🔨 设计开发一条龙
|
206
|
+
# - 🤝 专修交互与设计
|
207
|
+
# - 🏃 脚踏实地行动派
|
208
|
+
# - 🧱 团队小组发动机
|
209
|
+
# - 💢 壮汉人狠话不多
|
210
|
+
# - 🎮 电竞游戏爱好者
|
211
211
|
# 个人信息卡片底部的小图标,按照例子填写
|
212
212
|
information:
|
213
213
|
# Github: https://github.com/efuo || st-github-line # 名称:链接 || 图标 / Name: link || icon
|
@@ -257,7 +257,7 @@ aside:
|
|
257
257
|
# 高亮显示标签列表
|
258
258
|
# Highlighted tag list
|
259
259
|
list:
|
260
|
-
|
260
|
+
# - "Solitude"
|
261
261
|
|
262
262
|
# 侧边栏归档
|
263
263
|
# aside archive
|
@@ -291,6 +291,14 @@ aside:
|
|
291
291
|
# Format: yyyy-MM-dd hh-mm-ss
|
292
292
|
runtime: "2023-04-20 00:00:00"
|
293
293
|
|
294
|
+
# 首页文章配置信息
|
295
|
+
# Configure information on the home page
|
296
|
+
index_post_list:
|
297
|
+
direction: column # row / column
|
298
|
+
content: 3 # 1: post.description / 2: 自动获取description或截取内容(Automatically get descriptions or screenshots) / 3: 只使用截取内容(Use only screenshots) / false: 不显示内容(No content is displayed)
|
299
|
+
length: 500 # 截取内容的长度 : The length of the screenshot content
|
300
|
+
cover: both # left: 在左侧 : left / right: 在右侧 : right / both: 两侧 : both
|
301
|
+
|
294
302
|
# 页面默认设置
|
295
303
|
# page default settings
|
296
304
|
page:
|
@@ -301,7 +309,7 @@ page:
|
|
301
309
|
# 默认图片
|
302
310
|
# default cover
|
303
311
|
cover:
|
304
|
-
|
312
|
+
# - /img/default.png # 默认图片 / default cover
|
305
313
|
|
306
314
|
# 文章页默认设置
|
307
315
|
# post default settings
|
@@ -310,7 +318,7 @@ post:
|
|
310
318
|
# 文章默认图片
|
311
319
|
# default cover
|
312
320
|
cover:
|
313
|
-
|
321
|
+
# - # 默认图片 / default cover
|
314
322
|
# 文章发布默认地址
|
315
323
|
# default post locate
|
316
324
|
locate: 衡阳
|
@@ -334,15 +342,13 @@ post:
|
|
334
342
|
# reward
|
335
343
|
award:
|
336
344
|
enable: false
|
337
|
-
#
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
#
|
342
|
-
|
343
|
-
#
|
344
|
-
# Reward statistics page link
|
345
|
-
url: /about
|
345
|
+
appreciators: /about # 赞赏记录 / Appreciative records
|
346
|
+
title: 感谢您的赞赏。
|
347
|
+
desc: 因为有你们的支持,我才体会到写文章的价值。
|
348
|
+
list:
|
349
|
+
# - name: 支付宝
|
350
|
+
# qcode: https://7.isyangs.cn/34/65f2e5a6d2ef5-34.png
|
351
|
+
# color: var(--efu-blue)
|
346
352
|
# 版权中订阅按钮跳转链接,填写地址后开启
|
347
353
|
# Subscription button jump link in copyright
|
348
354
|
rss: # /atom.xml
|
@@ -410,20 +416,20 @@ footer:
|
|
410
416
|
# 底部导航栏
|
411
417
|
# Bottom navigation bar
|
412
418
|
group:
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
419
|
+
# 导航:
|
420
|
+
# 归档: /archives/
|
421
|
+
# 分类: /categories/
|
422
|
+
# 标签: /tags/
|
423
|
+
# 服务:
|
424
|
+
# 阿里云: https://aliyun.com/
|
425
|
+
# 51la统计: https://v6.51.la/
|
426
|
+
# 百度统计: https://tongji.baidu.com/
|
427
|
+
# 支持:
|
428
|
+
# 打赏记录: /about/
|
429
|
+
# 协议:
|
430
|
+
# Cookies: /cookies/
|
431
|
+
# 用户协议: /privacy/
|
432
|
+
# 版权协议: /copyright/
|
427
433
|
|
428
434
|
# 页脚随机友链
|
429
435
|
# Random links at footer
|
@@ -502,7 +508,7 @@ music:
|
|
502
508
|
capsule:
|
503
509
|
enable:
|
504
510
|
false
|
505
|
-
|
511
|
+
# 歌单id / playlist id
|
506
512
|
id: 8407304077
|
507
513
|
# 播放列表的服务商。netease:网易云 / tencent:腾讯 / kugou:酷狗 / xiami:小米 / baidu:百度
|
508
514
|
# Music service provider. netease: Netease Cloud / tencent: Tencent / kugou: Kugou / xiaomi: Xiaomi / baidu: Baidu
|
@@ -566,6 +572,7 @@ keyboard:
|
|
566
572
|
# lazyload
|
567
573
|
lazyload:
|
568
574
|
enable: false
|
575
|
+
field: site # post, site
|
569
576
|
# 加载中显示图片
|
570
577
|
# Loading display image
|
571
578
|
placeholder: /img/loading.gif
|
@@ -612,19 +619,10 @@ mediumZoom: false
|
|
612
619
|
# https://mermaid.js.org/
|
613
620
|
mermaid: false
|
614
621
|
|
615
|
-
# 简繁转换
|
616
|
-
# Simplified and Traditional Chinese conversion
|
617
|
-
translate:
|
618
|
-
enable: false
|
619
|
-
# the language of website (1 - Traditional Chinese/ 2 - Simplified Chinese)
|
620
|
-
defaultEncoding: 2
|
621
|
-
# Time delay
|
622
|
-
translateDelay: 0
|
623
|
-
|
624
622
|
# Open Graph
|
625
623
|
# https://ogp.me/
|
626
624
|
# https://developers.facebook.com/docs/sharing/webmasters/
|
627
|
-
|
625
|
+
OpenGraph:
|
628
626
|
enable: false
|
629
627
|
options:
|
630
628
|
# twitter_card:
|
@@ -659,17 +657,12 @@ search:
|
|
659
657
|
# - Solitude
|
660
658
|
# - Hexo
|
661
659
|
algolia:
|
662
|
-
|
663
|
-
|
660
|
+
# hits:
|
661
|
+
# per_page: 6
|
664
662
|
local:
|
665
663
|
preload: false
|
666
664
|
CDN:
|
667
665
|
|
668
|
-
# rightside(右键菜单)
|
669
|
-
# right menu
|
670
|
-
rightside:
|
671
|
-
enable: false
|
672
|
-
|
673
666
|
# 文章摘要AI
|
674
667
|
# post abstract AI
|
675
668
|
post_ai:
|
@@ -683,7 +676,7 @@ post_ai:
|
|
683
676
|
key:
|
684
677
|
# 自介
|
685
678
|
# talk
|
686
|
-
talk: 我是 Efu 开发的摘要生成助理EfuGPT,EfuGPT在静态部署时进行摘要的撰写,并且在访客访问时通过EfuCorrection转译后的文本摘要实现工具。我在这里只负责已经生成的摘要显示,你无法与我直接沟通,但我可以回答一些预设的问题。
|
679
|
+
talk: # 我是 Efu 开发的摘要生成助理EfuGPT,EfuGPT在静态部署时进行摘要的撰写,并且在访客访问时通过EfuCorrection转译后的文本摘要实现工具。我在这里只负责已经生成的摘要显示,你无法与我直接沟通,但我可以回答一些预设的问题。
|
687
680
|
# 随机文章按钮
|
688
681
|
# Random post button
|
689
682
|
randomPost: false
|
@@ -692,7 +685,7 @@ post_ai:
|
|
692
685
|
report: https://efu.me/
|
693
686
|
# 底部提示
|
694
687
|
# Bottom tip
|
695
|
-
tips: 此内容根据文章生成,并经过人工审核,仅用于文章内容的解释与总结
|
688
|
+
tips: # 此内容根据文章生成,并经过人工审核,仅用于文章内容的解释与总结
|
696
689
|
|
697
690
|
# latex 公式支持
|
698
691
|
# latex formula support
|
@@ -728,7 +721,7 @@ comment:
|
|
728
721
|
# waline 配置信息
|
729
722
|
# waline settings
|
730
723
|
waline: # https://waline.js.org/
|
731
|
-
envId:
|
724
|
+
envId: # url: https://waline.wzsco.top
|
732
725
|
pageview: true # 是否开启页面访问量统计 / Whether to enable page access statistics
|
733
726
|
option: # waline配置项 / waline configuration item
|
734
727
|
|
@@ -737,10 +730,10 @@ comment:
|
|
737
730
|
# 仅需要填写验证代码即可,譬如:codeva-KReTIJu5us
|
738
731
|
# Only need to fill in the verification code, such as: codeva-KReTIJu5us
|
739
732
|
verify_site:
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
733
|
+
# - name: google-site-verification
|
734
|
+
# content: xxxxxx
|
735
|
+
# - name: baidu-site-verification
|
736
|
+
# content: xxxxxxx
|
744
737
|
|
745
738
|
# CSS 前缀
|
746
739
|
# CSS prefix
|
@@ -750,13 +743,21 @@ verify_site:
|
|
750
743
|
# After opening css_prefix, some CSS will be automatically prefixed. (Will increase 20% of the volume)
|
751
744
|
css_prefix: false
|
752
745
|
|
746
|
+
# Font 字体
|
747
|
+
# Font
|
748
|
+
font:
|
749
|
+
font-size: 16px
|
750
|
+
code-font-size: 16px
|
751
|
+
font-family: '"PingFang SC","Hiragino Sans GB","Microsoft YaHei"'
|
752
|
+
code-font-family: '"monospace", "monospace"'
|
753
|
+
|
753
754
|
# 插入代码到头部 </head> 之前 和 底部 </body> 之前
|
754
755
|
# Insert code before </head> and before </body>
|
755
756
|
# 插入额外代码 如:统计,广告等
|
756
757
|
# Insert additional code such as: statistics, advertising, etc.
|
757
758
|
extends:
|
758
759
|
head: # 在head中插入 / Insert in head
|
759
|
-
|
760
|
+
# - <script src="https://cdn.bootcdn.net/ajax/libs/pace/1.2.4/pace.min.js"></script>
|
760
761
|
body: # 在body中插入 / Insert in body
|
761
762
|
|
762
763
|
# PWA
|
@@ -827,5 +828,4 @@ CDN:
|
|
827
828
|
# swiper_css:
|
828
829
|
# swiper_js:
|
829
830
|
# busuanzi_js:
|
830
|
-
# snackbar_css:
|
831
831
|
# snackbar_js:
|