hexo-theme-lnote 1.2.4 → 1.2.5

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.
Files changed (136) hide show
  1. package/README.md +122 -122
  2. package/_config.yml +19 -19
  3. package/config/links.yml +63 -63
  4. package/config/svg.yml +33 -33
  5. package/index.d.ts +4 -0
  6. package/languages/de.yml +69 -69
  7. package/languages/en.yml +69 -69
  8. package/languages/eo.yml +69 -69
  9. package/languages/es.yml +69 -69
  10. package/languages/ja.yml +69 -69
  11. package/languages/ru.yml +69 -69
  12. package/languages/zh-CN.yml +69 -69
  13. package/languages/zh-HK.yml +69 -69
  14. package/languages/zh-TW.yml +69 -69
  15. package/layout/404.ejs +8 -8
  16. package/layout/_partials/archive-list.ejs +17 -17
  17. package/layout/_partials/category-chains.ejs +19 -19
  18. package/layout/_partials/category-list.ejs +62 -62
  19. package/layout/_partials/comments/changyan.ejs +11 -11
  20. package/layout/_partials/comments/cusdis.ejs +25 -25
  21. package/layout/_partials/comments/discuss.ejs +17 -17
  22. package/layout/_partials/comments/disqus.ejs +32 -32
  23. package/layout/_partials/comments/giscus.ejs +36 -36
  24. package/layout/_partials/comments/gitalk.ejs +19 -19
  25. package/layout/_partials/comments/livere.ejs +10 -10
  26. package/layout/_partials/comments/remark42.ejs +29 -29
  27. package/layout/_partials/comments/twikoo.ejs +25 -25
  28. package/layout/_partials/comments/utterances.ejs +27 -27
  29. package/layout/_partials/comments/valine.ejs +23 -23
  30. package/layout/_partials/comments/waline.ejs +24 -24
  31. package/layout/_partials/comments.ejs +8 -8
  32. package/layout/_partials/css.ejs +9 -9
  33. package/layout/_partials/footer/beian.ejs +33 -33
  34. package/layout/_partials/footer/statistics.ejs +39 -39
  35. package/layout/_partials/footer.ejs +7 -7
  36. package/layout/_partials/head.ejs +46 -46
  37. package/layout/_partials/header/banner.ejs +24 -24
  38. package/layout/_partials/header/navigation.ejs +56 -56
  39. package/layout/_partials/header.ejs +4 -4
  40. package/layout/_partials/markdown-plugins.ejs +24 -24
  41. package/layout/_partials/paginator.ejs +14 -14
  42. package/layout/_partials/plugins/CSR.ejs +4 -0
  43. package/layout/_partials/plugins/analytics.ejs +75 -75
  44. package/layout/_partials/plugins/anchorjs.ejs +39 -39
  45. package/layout/_partials/plugins/code-widget.ejs +7 -7
  46. package/layout/_partials/plugins/encrypt.ejs +18 -18
  47. package/layout/_partials/plugins/fancybox.ejs +11 -11
  48. package/layout/_partials/plugins/highlight.ejs +13 -13
  49. package/layout/_partials/plugins/math.ejs +51 -51
  50. package/layout/_partials/plugins/mermaid.ejs +4 -4
  51. package/layout/_partials/plugins/nprogress.ejs +7 -7
  52. package/layout/_partials/plugins/typed.ejs +20 -20
  53. package/layout/_partials/post/category-bar.ejs +18 -18
  54. package/layout/_partials/post/copyright.ejs +50 -50
  55. package/layout/_partials/post/css.ejs +3 -3
  56. package/layout/_partials/post/meta-bottom.ejs +16 -16
  57. package/layout/_partials/post/meta-top.ejs +27 -27
  58. package/layout/_partials/post/scripts.ejs +8 -7
  59. package/layout/_partials/post/sidebar-left.ejs +1 -1
  60. package/layout/_partials/post/sidebar-right.ejs +2 -2
  61. package/layout/_partials/post/toc.ejs +6 -6
  62. package/layout/_partials/scripts.ejs +10 -10
  63. package/layout/_partials/search.ejs +19 -19
  64. package/layout/about.ejs +22 -22
  65. package/layout/archive.ejs +10 -10
  66. package/layout/categories.ejs +20 -20
  67. package/layout/category.ejs +12 -12
  68. package/layout/index.ejs +61 -61
  69. package/layout/layout.ejs +60 -60
  70. package/layout/links.ejs +31 -31
  71. package/layout/page.ejs +15 -15
  72. package/layout/post.ejs +77 -77
  73. package/layout/tag.ejs +12 -12
  74. package/layout/tags.ejs +26 -26
  75. package/package.json +73 -70
  76. package/source/css/_functions/base.styl +8 -8
  77. package/source/css/_mixins/base.styl +23 -23
  78. package/source/css/_pages/_about/about.styl +32 -32
  79. package/source/css/_pages/_archive/archive.styl +32 -32
  80. package/source/css/_pages/_base/_widget/anchorjs.styl +8 -8
  81. package/source/css/_pages/_base/_widget/banner.styl +29 -29
  82. package/source/css/_pages/_base/_widget/board.styl +11 -11
  83. package/source/css/_pages/_base/_widget/code-widget.styl +37 -36
  84. package/source/css/_pages/_base/_widget/copyright.styl +91 -90
  85. package/source/css/_pages/_base/_widget/footer.styl +65 -65
  86. package/source/css/_pages/_base/_widget/footnote.styl +26 -25
  87. package/source/css/_pages/_base/_widget/header.styl +173 -173
  88. package/source/css/_pages/_base/_widget/modal.styl +100 -100
  89. package/source/css/_pages/_base/_widget/navlink.styl +15 -15
  90. package/source/css/_pages/_base/_widget/ngrogress.styl +12 -12
  91. package/source/css/_pages/_base/_widget/noscript.styl +13 -12
  92. package/source/css/_pages/_base/_widget/pagination.styl +23 -23
  93. package/source/css/_pages/_base/_widget/qrcode.styl +17 -17
  94. package/source/css/_pages/_base/_widget/scroll-btn.styl +48 -48
  95. package/source/css/_pages/_base/_widget/text.styl +20 -19
  96. package/source/css/_pages/_base/_widget/toc.styl +75 -75
  97. package/source/css/_pages/_base/base.styl +68 -68
  98. package/source/css/_pages/_base/color-schema.styl +75 -75
  99. package/source/css/_pages/_base/inline.styl +51 -51
  100. package/source/css/_pages/_base/keyframes.styl +31 -31
  101. package/source/css/_pages/_base/print.styl +39 -38
  102. package/source/css/_pages/_category/category-bar.styl +58 -58
  103. package/source/css/_pages/_category/category-chain.styl +6 -6
  104. package/source/css/_pages/_category/category-list.styl +62 -62
  105. package/source/css/_pages/_index/index.styl +75 -75
  106. package/source/css/_pages/_links/links.styl +80 -79
  107. package/source/css/_pages/_post/comment.styl +28 -27
  108. package/source/css/_pages/_post/highlight.styl +75 -75
  109. package/source/css/_pages/_post/markdown.styl +96 -96
  110. package/source/css/_pages/_post/post-page.styl +179 -179
  111. package/source/css/_pages/_post/post-plugin.styl +10 -0
  112. package/source/css/_pages/_post/post-tag.styl +43 -29
  113. package/source/css/_pages/_tag/tags.styl +9 -9
  114. package/source/css/_pages/pages.styl +8 -8
  115. package/source/css/_variables/base.styl +72 -72
  116. package/source/css/gitalk.css +546 -546
  117. package/source/css/main.styl +19 -19
  118. package/source/js/color-schema.js +279 -279
  119. package/source/js/events.js +72 -72
  120. package/source/js/img-lazyload.js +10 -10
  121. package/source/js/local-search.js +70 -70
  122. package/source/js/post/copying-code.js +34 -34
  123. package/source/js/post/enable.js +6 -6
  124. package/source/js/post/img-swipe-bf.js +47 -47
  125. package/source/js/post/img-swipe.js +81 -35
  126. package/source/js/post/mermaiding.js +9 -9
  127. package/source/js/post/play-imgs.js +58 -58
  128. package/source/js/post/toc.js +24 -24
  129. package/source/js/post/view-imgs.js +27 -27
  130. package/source/js/utils.js +245 -245
  131. package/source/xml/local-search.xml +45 -45
  132. package/templates/footer.ejs +12 -12
  133. package/templates/noun.vue +14 -17
  134. package/templates/utils/uri.ts +12 -0
  135. package/scripts/index.js +0 -1
  136. package/source/css/_pages/_tag/tag.styl +0 -9
package/languages/ru.yml CHANGED
@@ -1,69 +1,69 @@
1
- name: 'Русский'
2
-
3
- home:
4
- menu: 'Главная'
5
- title: 'Главная'
6
-
7
- archive:
8
- menu: 'Архивы'
9
- title: 'Архивы'
10
- subtitle: 'Архивы'
11
- post_total: '%d сообщений всего'
12
-
13
- category:
14
- menu: 'Категории'
15
- title: 'Категории'
16
- subtitle: 'Категории'
17
- post_total: '%d сообщений всего'
18
- more: 'More...'
19
-
20
- tag:
21
- menu: 'Теги'
22
- title: 'Теги'
23
- subtitle: 'Теги'
24
- post_total: '%d сообщений всего'
25
-
26
- about:
27
- menu: 'О'
28
- title: 'О'
29
- subtitle: 'О'
30
-
31
- links:
32
- menu: 'Ссылки'
33
- title: 'Ссылки'
34
- subtitle: 'Ссылки'
35
-
36
- page404:
37
- menu: 'Страница не найдена'
38
- title: 'Страница не найдена'
39
- subtitle: 'Страница не найдена'
40
-
41
- post:
42
- toc: 'Оглавление'
43
- prev_post: 'Предыдущий'
44
- next_post: 'Следующий'
45
- updated: 'Последнее обновление %s'
46
- meta:
47
- wordcount: '%s слов'
48
- min2read: '%s минут'
49
- views: '{} просмотров'
50
- copyright:
51
- author: 'Автор'
52
- posted: 'Опубликовано на'
53
- updated: 'Обновлено'
54
- license: 'Лицензировано под'
55
- CC: 'CC - Creative Commons license'
56
- BY: 'BY - Attribution'
57
- SA: 'SA - Share-alike'
58
- NC: 'NC - Non-commercial'
59
- ND: 'ND - No derivative works'
60
-
61
- footer:
62
- pv: 'Просмотров: {}'
63
- uv: 'Посетителей: {}'
64
-
65
- search:
66
- title: 'Поиск'
67
- keyword: 'Ключевое слово'
68
-
69
- noscript_warning: 'Блог лучше всего работает с включенным JavaScript'
1
+ name: 'Русский'
2
+
3
+ home:
4
+ menu: 'Главная'
5
+ title: 'Главная'
6
+
7
+ archive:
8
+ menu: 'Архивы'
9
+ title: 'Архивы'
10
+ subtitle: 'Архивы'
11
+ post_total: '%d сообщений всего'
12
+
13
+ category:
14
+ menu: 'Категории'
15
+ title: 'Категории'
16
+ subtitle: 'Категории'
17
+ post_total: '%d сообщений всего'
18
+ more: 'More...'
19
+
20
+ tag:
21
+ menu: 'Теги'
22
+ title: 'Теги'
23
+ subtitle: 'Теги'
24
+ post_total: '%d сообщений всего'
25
+
26
+ about:
27
+ menu: 'О'
28
+ title: 'О'
29
+ subtitle: 'О'
30
+
31
+ links:
32
+ menu: 'Ссылки'
33
+ title: 'Ссылки'
34
+ subtitle: 'Ссылки'
35
+
36
+ page404:
37
+ menu: 'Страница не найдена'
38
+ title: 'Страница не найдена'
39
+ subtitle: 'Страница не найдена'
40
+
41
+ post:
42
+ toc: 'Оглавление'
43
+ prev_post: 'Предыдущий'
44
+ next_post: 'Следующий'
45
+ updated: 'Последнее обновление %s'
46
+ meta:
47
+ wordcount: '%s слов'
48
+ min2read: '%s минут'
49
+ views: '{} просмотров'
50
+ copyright:
51
+ author: 'Автор'
52
+ posted: 'Опубликовано на'
53
+ updated: 'Обновлено'
54
+ license: 'Лицензировано под'
55
+ CC: 'CC - Creative Commons license'
56
+ BY: 'BY - Attribution'
57
+ SA: 'SA - Share-alike'
58
+ NC: 'NC - Non-commercial'
59
+ ND: 'ND - No derivative works'
60
+
61
+ footer:
62
+ pv: 'Просмотров: {}'
63
+ uv: 'Посетителей: {}'
64
+
65
+ search:
66
+ title: 'Поиск'
67
+ keyword: 'Ключевое слово'
68
+
69
+ noscript_warning: 'Блог лучше всего работает с включенным JavaScript'
@@ -1,69 +1,69 @@
1
- name: '简体中文'
2
-
3
- home:
4
- menu: '首页'
5
- title: '首页'
6
-
7
- archive:
8
- menu: '归档'
9
- title: '归档'
10
- subtitle: '归档'
11
- post_total: '共计 %d 篇文章'
12
-
13
- category:
14
- menu: '分类'
15
- title: '分类'
16
- subtitle: '分类'
17
- post_total: '共计 %d 篇文章'
18
- more: 'More...'
19
-
20
- tag:
21
- menu: '标签'
22
- title: '标签'
23
- subtitle: '标签'
24
- post_total: '共计 %d 篇文章'
25
-
26
- about:
27
- menu: '关于'
28
- title: '关于'
29
- subtitle: '关于'
30
-
31
- links:
32
- menu: '友链'
33
- title: '友链'
34
- subtitle: '友情链接'
35
-
36
- page404:
37
- menu: '页面不存在'
38
- title: '页面不存在'
39
- subtitle: '页面不存在'
40
-
41
- post:
42
- toc: '目录'
43
- prev_post: '上一篇'
44
- next_post: '下一篇'
45
- updated: '本文最后更新于:%s'
46
- meta:
47
- wordcount: '%s 字'
48
- min2read: '%s 分钟'
49
- views: ' 次'
50
- copyright:
51
- author: '作者'
52
- posted: '发布于'
53
- updated: '更新于'
54
- licensed: '许可协议'
55
- CC: 'CC - 知识共享许可协议'
56
- BY: 'BY - 署名'
57
- SA: 'SA - 相同方式共享'
58
- NC: 'NC - 非商业性使用'
59
- ND: 'ND - 禁止演绎'
60
-
61
- footer:
62
- pv: '总访问量 {} 次'
63
- uv: '总访客数 {} 人'
64
-
65
- search:
66
- title: '搜索'
67
- keyword: '关键词'
68
-
69
- noscript_warning: '博客在允许 JavaScript 运行的环境下浏览效果更佳'
1
+ name: '简体中文'
2
+
3
+ home:
4
+ menu: '首页'
5
+ title: '首页'
6
+
7
+ archive:
8
+ menu: '归档'
9
+ title: '归档'
10
+ subtitle: '归档'
11
+ post_total: '共计 %d 篇文章'
12
+
13
+ category:
14
+ menu: '分类'
15
+ title: '分类'
16
+ subtitle: '分类'
17
+ post_total: '共计 %d 篇文章'
18
+ more: 'More...'
19
+
20
+ tag:
21
+ menu: '标签'
22
+ title: '标签'
23
+ subtitle: '标签'
24
+ post_total: '共计 %d 篇文章'
25
+
26
+ about:
27
+ menu: '关于'
28
+ title: '关于'
29
+ subtitle: '关于'
30
+
31
+ links:
32
+ menu: '友链'
33
+ title: '友链'
34
+ subtitle: '友情链接'
35
+
36
+ page404:
37
+ menu: '页面不存在'
38
+ title: '页面不存在'
39
+ subtitle: '页面不存在'
40
+
41
+ post:
42
+ toc: '目录'
43
+ prev_post: '上一篇'
44
+ next_post: '下一篇'
45
+ updated: '本文最后更新于:%s'
46
+ meta:
47
+ wordcount: '%s 字'
48
+ min2read: '%s 分钟'
49
+ views: ' 次'
50
+ copyright:
51
+ author: '作者'
52
+ posted: '发布于'
53
+ updated: '更新于'
54
+ licensed: '许可协议'
55
+ CC: 'CC - 知识共享许可协议'
56
+ BY: 'BY - 署名'
57
+ SA: 'SA - 相同方式共享'
58
+ NC: 'NC - 非商业性使用'
59
+ ND: 'ND - 禁止演绎'
60
+
61
+ footer:
62
+ pv: '总访问量 {} 次'
63
+ uv: '总访客数 {} 人'
64
+
65
+ search:
66
+ title: '搜索'
67
+ keyword: '关键词'
68
+
69
+ noscript_warning: 'LNote 在允许 JavaScript 运行的环境下浏览效果更佳'
@@ -1,69 +1,69 @@
1
- name: '繁體中文'
2
-
3
- home:
4
- menu: '首頁'
5
- title: '首頁'
6
-
7
- archive:
8
- menu: '歸檔'
9
- title: '歸檔'
10
- subtitle: '歸檔'
11
- post_total: '共有 %d 篇文章'
12
-
13
- category:
14
- menu: '分類'
15
- title: '分類'
16
- subtitle: '分類'
17
- post_total: '共有 %d 篇文章'
18
- more: 'More...'
19
-
20
- tag:
21
- menu: '標籤'
22
- title: '標籤'
23
- subtitle: '標籤'
24
- post_total: '共有 %d 篇文章'
25
-
26
- about:
27
- menu: '關於'
28
- title: '關於'
29
- subtitle: '關於'
30
-
31
- links:
32
- menu: '連結'
33
- title: '交換連結'
34
- subtitle: '交換連結'
35
-
36
- page404:
37
- menu: '頁面不存在'
38
- title: '頁面不存在'
39
- subtitle: '頁面不存在'
40
-
41
- post:
42
- toc: '目錄'
43
- prev_post: '上一篇'
44
- next_post: '下一篇'
45
- updated: '本文最後更新於:%s'
46
- meta:
47
- wordcount: '%s 字'
48
- min2read: '%s 分鐘'
49
- views: '{} 次'
50
- copyright:
51
- author: '作者'
52
- posted: '發布於'
53
- updated: '更新於'
54
- licensed: '許可協議'
55
- CC: 'CC - 知識共享許可協議'
56
- BY: 'BY - 署名'
57
- SA: 'SA - 相同方式共享'
58
- NC: 'NC - 非商業性使用'
59
- ND: 'ND - 禁止演繹'
60
-
61
- footer:
62
- pv: '總訪問量 {} 次'
63
- uv: '總訪客數 {} 人'
64
-
65
- search:
66
- title: '搜尋'
67
- keyword: '關鍵字'
68
-
69
- noscript_warning: '博客在允許 JavaScript 運行的環境下瀏覽效果更佳'
1
+ name: '繁體中文'
2
+
3
+ home:
4
+ menu: '首頁'
5
+ title: '首頁'
6
+
7
+ archive:
8
+ menu: '歸檔'
9
+ title: '歸檔'
10
+ subtitle: '歸檔'
11
+ post_total: '共有 %d 篇文章'
12
+
13
+ category:
14
+ menu: '分類'
15
+ title: '分類'
16
+ subtitle: '分類'
17
+ post_total: '共有 %d 篇文章'
18
+ more: 'More...'
19
+
20
+ tag:
21
+ menu: '標籤'
22
+ title: '標籤'
23
+ subtitle: '標籤'
24
+ post_total: '共有 %d 篇文章'
25
+
26
+ about:
27
+ menu: '關於'
28
+ title: '關於'
29
+ subtitle: '關於'
30
+
31
+ links:
32
+ menu: '連結'
33
+ title: '交換連結'
34
+ subtitle: '交換連結'
35
+
36
+ page404:
37
+ menu: '頁面不存在'
38
+ title: '頁面不存在'
39
+ subtitle: '頁面不存在'
40
+
41
+ post:
42
+ toc: '目錄'
43
+ prev_post: '上一篇'
44
+ next_post: '下一篇'
45
+ updated: '本文最後更新於:%s'
46
+ meta:
47
+ wordcount: '%s 字'
48
+ min2read: '%s 分鐘'
49
+ views: '{} 次'
50
+ copyright:
51
+ author: '作者'
52
+ posted: '發布於'
53
+ updated: '更新於'
54
+ licensed: '許可協議'
55
+ CC: 'CC - 知識共享許可協議'
56
+ BY: 'BY - 署名'
57
+ SA: 'SA - 相同方式共享'
58
+ NC: 'NC - 非商業性使用'
59
+ ND: 'ND - 禁止演繹'
60
+
61
+ footer:
62
+ pv: '總訪問量 {} 次'
63
+ uv: '總訪客數 {} 人'
64
+
65
+ search:
66
+ title: '搜尋'
67
+ keyword: '關鍵字'
68
+
69
+ noscript_warning: 'LNote 在允許 JavaScript 運行的環境下瀏覽效果更佳'
@@ -1,69 +1,69 @@
1
- name: '正體中文'
2
-
3
- home:
4
- menu: '首頁'
5
- title: '首頁'
6
-
7
- archive:
8
- menu: '歸檔'
9
- title: '歸檔'
10
- subtitle: '歸檔'
11
- post_total: '共有 %d 篇文章'
12
-
13
- category:
14
- menu: '分類'
15
- title: '分類'
16
- subtitle: '分類'
17
- post_total: '共有 %d 篇文章'
18
- more: 'More...'
19
-
20
- tag:
21
- menu: '標籤'
22
- title: '標籤'
23
- subtitle: '標籤'
24
- post_total: '共有 %d 篇文章'
25
-
26
- about:
27
- menu: '關於'
28
- title: '關於'
29
- subtitle: '關於'
30
-
31
- links:
32
- menu: '連結'
33
- title: '交換連結'
34
- subtitle: '交換連結'
35
-
36
- page404:
37
- menu: '頁面不存在'
38
- title: '頁面不存在'
39
- subtitle: '頁面不存在'
40
-
41
- post:
42
- toc: '目錄'
43
- prev_post: '上一篇'
44
- next_post: '下一篇'
45
- updated: '本文最後更新於:%s'
46
- meta:
47
- wordcount: '%s 字'
48
- min2read: '%s 分鐘'
49
- views: '{} 次'
50
- copyright:
51
- author: '作者'
52
- posted: '發布於'
53
- updated: '更新於'
54
- licensed: '許可協議'
55
- CC: 'CC - 知識共享許可協議'
56
- BY: 'BY - 署名'
57
- SA: 'SA - 相同方式共享'
58
- NC: 'NC - 非商業性使用'
59
- ND: 'ND - 禁止演繹'
60
-
61
- footer:
62
- pv: '總訪問量 {} 次'
63
- uv: '總訪客數 {} 人'
64
-
65
- search:
66
- title: '搜尋'
67
- keyword: '關鍵字'
68
-
69
- noscript_warning: '博客在允許 JavaScript 運行的環境下瀏覽效果更佳'
1
+ name: '正體中文'
2
+
3
+ home:
4
+ menu: '首頁'
5
+ title: '首頁'
6
+
7
+ archive:
8
+ menu: '歸檔'
9
+ title: '歸檔'
10
+ subtitle: '歸檔'
11
+ post_total: '共有 %d 篇文章'
12
+
13
+ category:
14
+ menu: '分類'
15
+ title: '分類'
16
+ subtitle: '分類'
17
+ post_total: '共有 %d 篇文章'
18
+ more: 'More...'
19
+
20
+ tag:
21
+ menu: '標籤'
22
+ title: '標籤'
23
+ subtitle: '標籤'
24
+ post_total: '共有 %d 篇文章'
25
+
26
+ about:
27
+ menu: '關於'
28
+ title: '關於'
29
+ subtitle: '關於'
30
+
31
+ links:
32
+ menu: '連結'
33
+ title: '交換連結'
34
+ subtitle: '交換連結'
35
+
36
+ page404:
37
+ menu: '頁面不存在'
38
+ title: '頁面不存在'
39
+ subtitle: '頁面不存在'
40
+
41
+ post:
42
+ toc: '目錄'
43
+ prev_post: '上一篇'
44
+ next_post: '下一篇'
45
+ updated: '本文最後更新於:%s'
46
+ meta:
47
+ wordcount: '%s 字'
48
+ min2read: '%s 分鐘'
49
+ views: '{} 次'
50
+ copyright:
51
+ author: '作者'
52
+ posted: '發布於'
53
+ updated: '更新於'
54
+ licensed: '許可協議'
55
+ CC: 'CC - 知識共享許可協議'
56
+ BY: 'BY - 署名'
57
+ SA: 'SA - 相同方式共享'
58
+ NC: 'NC - 非商業性使用'
59
+ ND: 'ND - 禁止演繹'
60
+
61
+ footer:
62
+ pv: '總訪問量 {} 次'
63
+ uv: '總訪客數 {} 人'
64
+
65
+ search:
66
+ title: '搜尋'
67
+ keyword: '關鍵字'
68
+
69
+ noscript_warning: 'LNote 在允許 JavaScript 運行的環境下瀏覽效果更佳'
package/layout/404.ejs CHANGED
@@ -1,8 +1,8 @@
1
- <%
2
- page.layout = "404"
3
- page.title = __('page404.title')
4
- page.subtitle = __('page404.subtitle')
5
- page.banner_img = theme.banner_img
6
- page.banner_img_height = 80
7
- page.banner_mask_alpha = 0.3
8
- %>
1
+ <%
2
+ page.layout = "404"
3
+ page.title = __('page404.title')
4
+ page.subtitle = __('page404.subtitle')
5
+ page.banner_img = theme.banner_img
6
+ page.banner_img_height = 80
7
+ page.banner_mask_alpha = 0.3
8
+ %>
@@ -1,17 +1,17 @@
1
- <div class="list-group">
2
- <p class="fs-2 fw-bold"><%= __(params.key + '.post_total', params.postTotal) %></p>
3
- <hr>
4
- <% var dateCursor %>
5
- <% page.posts.each(function (post) { %>
6
- <% if(date(post.date, "YYYY") !== dateCursor) { %>
7
- <% dateCursor = date(post.date, "YYYY") %>
8
- <p class="fs-3 fw-bold"><%= dateCursor %></p>
9
- <% } %>
10
- <a href="<%= url_for(post.path) %>" class="list-group-item list-group-item-action">
11
- <time><%= date(post.date, "MM-DD") %></time>
12
- <div class="list-group-item-title"><%= post.title %></div>
13
- </a>
14
- <% }) %>
15
- </div>
16
-
17
- <%- partial('_partials/paginator') %>
1
+ <div class="list-group">
2
+ <p class="fs-2 fw-bold"><%= __(params.key + '.post_total', params.postTotal) %></p>
3
+ <hr>
4
+ <% var dateCursor %>
5
+ <% page.posts.each(function (post) { %>
6
+ <% if(date(post.date, "YYYY") !== dateCursor) { %>
7
+ <% dateCursor = date(post.date, "YYYY") %>
8
+ <p class="fs-3 fw-bold"><%= dateCursor %></p>
9
+ <% } %>
10
+ <a href="<%= url_for(post.path) %>" class="list-group-item list-group-item-action">
11
+ <time><%= date(post.date, "MM-DD") %></time>
12
+ <div class="list-group-item-title"><%= post.title %></div>
13
+ </a>
14
+ <% }) %>
15
+ </div>
16
+
17
+ <%- partial('_partials/paginator') %>
@@ -1,19 +1,19 @@
1
- <% function render_category_chain(cat) { %>
2
- <a href="<%= url_for(cat.path) %>" class="category-chain-item"><%= cat.name.trim() %></a>
3
- <% var nextCats = categories.find({ parent: cat._id }).sort(config.index_generator.order_by || 'name').filter(cat => cat.length) %>
4
- <% if (nextCats.length > 0) { %>
5
- <span>></span>
6
- <%- render_category_chain(nextCats.data[0]) %>
7
- <% } %>
8
- <% } %>
9
-
10
- <span class="category-chains">
11
- <% var catsFirst = categories.find({ parent: { $exists: false } }).sort(config.index_generator.order_by || 'name').filter(cat => cat.length) %>
12
- <% catsFirst.each((cat, idx) => { %>
13
- <% if (typeof(limit) === "undefined" || idx < limit) { %>
14
- <span class="category-chain">
15
- <%- render_category_chain(cat) %>
16
- </span>
17
- <% } %>
18
- <% }) %>
19
- </span>
1
+ <% function render_category_chain(cat) { %>
2
+ <a href="<%= url_for(cat.path) %>" class="category-chain-item"><%= cat.name.trim() %></a>
3
+ <% var nextCats = categories.find({ parent: cat._id }).sort(config.index_generator.order_by || 'name').filter(cat => cat.length) %>
4
+ <% if (nextCats.length > 0) { %>
5
+ <span>></span>
6
+ <%- render_category_chain(nextCats.data[0]) %>
7
+ <% } %>
8
+ <% } %>
9
+
10
+ <span class="category-chains">
11
+ <% var catsFirst = categories.find({ parent: { $exists: false } }).sort(config.index_generator.order_by || 'name').filter(cat => cat.length) %>
12
+ <% catsFirst.each((cat, idx) => { %>
13
+ <% if (typeof(limit) === "undefined" || idx < limit) { %>
14
+ <span class="category-chain">
15
+ <%- render_category_chain(cat) %>
16
+ </span>
17
+ <% } %>
18
+ <% }) %>
19
+ </span>