hexo-theme-solitude 1.5.1 → 1.5.2

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 (148) hide show
  1. package/.github/ISSUE_TEMPLATE/config.yml +17 -0
  2. package/.github/ISSUE_TEMPLATE/feature_request.yml +48 -0
  3. package/.github/PULL_REQUEST_TEMPLATE.md +35 -0
  4. package/CONTRIBUTING.md +2 -13
  5. package/LICENSE +21 -674
  6. package/README.md +17 -41
  7. package/README_EN.md +14 -39
  8. package/SECURITY.md +9 -0
  9. package/_config.yml +235 -264
  10. package/languages/{en-US.yml → en.yml} +3 -4
  11. package/languages/zh-CN.yml +0 -1
  12. package/languages/zh-TW.yml +0 -1
  13. package/layout/404.pug +1 -1
  14. package/layout/includes/body/gadsense.pug +9 -0
  15. package/layout/includes/console.pug +6 -6
  16. package/layout/includes/footer.pug +13 -13
  17. package/layout/includes/inject/body.pug +10 -1
  18. package/layout/includes/inject/head.pug +4 -4
  19. package/layout/includes/mixins/pagination.pug +2 -2
  20. package/layout/includes/nav.pug +2 -2
  21. package/layout/includes/page/album.pug +9 -9
  22. package/layout/includes/page/says.pug +5 -5
  23. package/layout/includes/sidebar.pug +2 -3
  24. package/layout/includes/widgets/aside/asideInfoCard.pug +1 -1
  25. package/layout/includes/widgets/aside/asideNewestPost.pug +1 -1
  26. package/layout/includes/widgets/aside/asideToc.pug +1 -1
  27. package/layout/includes/widgets/aside/asideWebInfo.pug +8 -8
  28. package/layout/includes/widgets/home/banner.pug +1 -1
  29. package/layout/includes/widgets/home/bbTimeList.pug +7 -7
  30. package/layout/includes/widgets/home/categoryBar.pug +5 -4
  31. package/layout/includes/widgets/home/categoryGroup.pug +1 -1
  32. package/layout/includes/widgets/home/postList.pug +8 -2
  33. package/layout/includes/widgets/home/topGroup.pug +1 -1
  34. package/layout/includes/widgets/nav/menu.pug +1 -1
  35. package/layout/includes/widgets/nav/right.pug +6 -6
  36. package/layout/includes/widgets/page/about/award.pug +3 -3
  37. package/layout/includes/widgets/page/about/hobbies.pug +1 -1
  38. package/layout/includes/widgets/page/banner.pug +1 -1
  39. package/layout/includes/widgets/page/equipment/content.pug +1 -1
  40. package/layout/includes/widgets/page/links/banner.pug +3 -3
  41. package/layout/includes/widgets/page/moments/angle.pug +1 -1
  42. package/layout/includes/widgets/post/award.pug +1 -1
  43. package/layout/includes/widgets/post/copyright.pug +1 -1
  44. package/layout/includes/widgets/post/post-ai.pug +1 -1
  45. package/layout/includes/widgets/post/postMeta.pug +12 -12
  46. package/layout/includes/widgets/rightside/index.pug +25 -25
  47. package/layout/includes/widgets/third-party/comments/comment.pug +1 -1
  48. package/layout/includes/widgets/third-party/music.pug +1 -1
  49. package/layout/includes/widgets/third-party/search/algolia-search.pug +2 -2
  50. package/layout/includes/widgets/third-party/search/local-search.pug +1 -1
  51. package/layout/index.pug +2 -2
  52. package/package.json +9 -9
  53. package/plugins.yml +8 -12
  54. package/scripts/event/cdn.js +10 -0
  55. package/scripts/event/welcome.js +1 -1
  56. package/scripts/filter/lazyload.js +2 -3
  57. package/scripts/helper/related_post.js +1 -1
  58. package/scripts/tags/card.js +1 -1
  59. package/scripts/tags/mermaid.js +9 -0
  60. package/scripts/tags/tabs.js +2 -2
  61. package/source/css/_global/animation.styl +1 -1
  62. package/source/css/_global/index.styl +27 -27
  63. package/source/css/_layout/basic.styl +18 -18
  64. package/source/css/_layout/header.styl +67 -67
  65. package/source/css/_layout/index.styl +14 -14
  66. package/source/css/_mode/index.styl +88 -88
  67. package/source/css/_page/_about/author.styl +5 -5
  68. package/source/css/_page/_about/buff.styl +1 -1
  69. package/source/css/_page/_about/careers.styl +1 -1
  70. package/source/css/_page/_about/contentinfo.styl +2 -2
  71. package/source/css/_page/_about/game.styl +2 -2
  72. package/source/css/_page/_about/like.styl +2 -2
  73. package/source/css/_page/_about/myphoto.styl +1 -1
  74. package/source/css/_page/_about/oneself.styl +2 -2
  75. package/source/css/_page/_about/reward.styl +11 -11
  76. package/source/css/_page/_about/skills.styl +2 -2
  77. package/source/css/_page/_about/statistic.styl +4 -4
  78. package/source/css/_page/_about/tenyear.styl +4 -4
  79. package/source/css/_page/_gallery/index.styl +7 -7
  80. package/source/css/_page/_home/category-bar.styl +11 -8
  81. package/source/css/_page/_home/home-top.styl +16 -16
  82. package/source/css/_page/_home/index.styl +1 -1
  83. package/source/css/_page/_home/pagination.styl +22 -22
  84. package/source/css/_page/_home/recent-post.styl +22 -15
  85. package/source/css/_page/category.styl +11 -11
  86. package/source/css/_page/douban.styl +10 -10
  87. package/source/css/_page/equipment.styl +10 -10
  88. package/source/css/_page/error.styl +3 -3
  89. package/source/css/_page/google.styl +32 -0
  90. package/source/css/_page/index.styl +4 -1
  91. package/source/css/_page/links.styl +27 -27
  92. package/source/css/_page/moment.styl +22 -22
  93. package/source/css/_page/music.styl +16 -14
  94. package/source/css/_page/says.styl +21 -21
  95. package/source/css/_page/share.styl +25 -25
  96. package/source/css/_page/tag.styl +12 -12
  97. package/source/css/_widgets/_aside/allinfo.styl +12 -12
  98. package/source/css/_widgets/_aside/index.styl +4 -4
  99. package/source/css/_widgets/_aside/info.styl +27 -27
  100. package/source/css/_widgets/_aside/newPost.styl +5 -5
  101. package/source/css/_widgets/_aside/toc.styl +7 -7
  102. package/source/css/_widgets/_comment/index.styl +7 -7
  103. package/source/css/_widgets/_comment/twikoo.styl +66 -50
  104. package/source/css/_widgets/_comment/waline.styl +45 -44
  105. package/source/css/_widgets/_extra/console.styl +29 -29
  106. package/source/css/_widgets/_extra/fullpage.styl +1 -1
  107. package/source/css/_widgets/_extra/music.styl +11 -11
  108. package/source/css/_widgets/_extra/pace.styl +2 -2
  109. package/source/css/_widgets/_extra/rightmenu.styl +8 -8
  110. package/source/css/_widgets/_mixins/article-sort.styl +7 -7
  111. package/source/css/_widgets/_mixins/footer.styl +28 -28
  112. package/source/css/_widgets/_mixins/keyboard.styl +8 -8
  113. package/source/css/_widgets/_mixins/other.styl +4 -4
  114. package/source/css/_widgets/_mixins/sidebar.styl +20 -20
  115. package/source/css/_widgets/_post/_highlight/index.styl +16 -16
  116. package/source/css/_widgets/_post/_highlight/theme/default.styl +1 -1
  117. package/source/css/_widgets/_post/_highlight/theme/mac.styl +1 -1
  118. package/source/css/_widgets/_post/commentBarrage.styl +13 -13
  119. package/source/css/_widgets/_post/content.styl +27 -26
  120. package/source/css/_widgets/_post/copyright.styl +9 -9
  121. package/source/css/_widgets/_post/meta.styl +27 -27
  122. package/source/css/_widgets/_post/pagination.styl +13 -13
  123. package/source/css/_widgets/_post/postAI.styl +18 -18
  124. package/source/css/_widgets/_post/relatedPost.styl +8 -8
  125. package/source/css/_widgets/_post/tools.styl +30 -30
  126. package/source/css/_widgets/_search/algolia-search.styl +18 -18
  127. package/source/css/_widgets/_search/local-search.styl +22 -22
  128. package/source/css/_widgets/_tags/button.styl +1 -1
  129. package/source/css/_widgets/_tags/card.styl +12 -12
  130. package/source/css/_widgets/_tags/fold.styl +11 -11
  131. package/source/css/_widgets/_tags/index.styl +26 -26
  132. package/source/css/_widgets/_tags/link.styl +10 -9
  133. package/source/css/_widgets/_tags/mermaid.styl +4 -0
  134. package/source/css/_widgets/_tags/note.styl +2 -2
  135. package/source/css/_widgets/_tags/tabs.styl +10 -10
  136. package/source/css/_widgets/_tags/timeline.styl +5 -5
  137. package/source/img/logo.png +0 -0
  138. package/source/js/comment/twikoo_commentBarrage.js +1 -1
  139. package/source/js/comment/waline_commentBarrage.js +1 -1
  140. package/source/js/covercolor/api.js +18 -18
  141. package/source/js/covercolor/local.js +18 -18
  142. package/source/js/main.js +5 -5
  143. package/source/js/music.js +1 -12
  144. package/source/js/search/algolia.js +7 -7
  145. package/source/js/tw_cn.js +2 -2
  146. package/source/js/universe.min.js +5 -0
  147. package/source/js/utils.js +2 -2
  148. package/source/js/waterfall.min.js +1 -0
@@ -0,0 +1,17 @@
1
+ blank_issues_enabled: false
2
+ contact_links:
3
+ - name: 关于主题使用问题
4
+ url: https://github.com/valor-x/hexo-theme-solitude/discussions
5
+ about: 一些使用上碰到的问题 Discussion 询问。 Please ask questions in Discussion.
6
+
7
+ - name: Solitude Q&A
8
+ url: https://solitude-docs.efu.me/faq
9
+ about: Solitude Q&A
10
+
11
+ - name: Telegram
12
+ url: https://t.me/efuome
13
+ about: 'Official Telegram Group'
14
+
15
+ - name: QQ 群
16
+ url: https://qm.qq.com/q/VlqOewI4Cu
17
+ about: '群号 773016811'
@@ -0,0 +1,48 @@
1
+ name: 功能新增✨
2
+ description: 为这个项目提出一个想法
3
+ title: "[想法]: "
4
+ labels: ["增强"]
5
+ body:
6
+ - type: markdown
7
+ attributes:
8
+ value: "感谢你抽出宝贵时间提出新功能建议!"
9
+ - type: input
10
+ id: feature_summary
11
+ attributes:
12
+ label: 功能简介
13
+ description: 对功能的清晰简明的描述。
14
+ placeholder: "e.g., 我想要..."
15
+ validations:
16
+ required: true
17
+ - type: textarea
18
+ id: feature_motivation
19
+ attributes:
20
+ label: 问题描述
21
+ description: 对问题是什么进行清晰简洁的描述。
22
+ placeholder: "e.g., 我在...需要..."
23
+ validations:
24
+ required: true
25
+ - type: textarea
26
+ id: feature_description
27
+ attributes:
28
+ label: 实现效果
29
+ description: 清晰简洁地描述您想要发生的事情。
30
+ placeholder: "e.g., 这个功能实现...的效果"
31
+ validations:
32
+ required: true
33
+ - type: textarea
34
+ id: feature_alternatives
35
+ attributes:
36
+ label: 你想到的可行的替代方案
37
+ description: 对你考虑过的任何替代解决方案或功能进行清晰简洁的描述。
38
+ placeholder: "e.g., 解决这个问题的一种方法是..."
39
+ validations:
40
+ required: false
41
+ - type: textarea
42
+ id: additional_context
43
+ attributes:
44
+ label: 其他内容
45
+ description: 在此处添加有关功能请求的任何其他上下文或屏幕截图。
46
+ placeholder: "在这里添加屏幕截图或着文字内容..."
47
+ validations:
48
+ required: false
@@ -0,0 +1,35 @@
1
+ <!---
2
+ ☝️ PR title should follow conventional commits (https://conventionalcommits.org)
3
+
4
+ Please carefully read the contribution docs before creating a pull request
5
+ 👉 https://github.com/valor-x/hexo-theme-solitude/blob/main/CONTRIBUTING.md
6
+ -->
7
+
8
+ ### 🔗 链接 issue
9
+
10
+ <!-- 请确保存在未解决的问题,将编号提及为 #123(示例) -->
11
+
12
+ ### ❓ 修改类型
13
+
14
+ <!--代码引入了哪些类型的更改?在所有适用的框中放置一个“x”。 -->
15
+
16
+ - [ ] 🐞 Bug fix (修复问题的连续性改)
17
+ - [ ] 👌 增强功能(改进现有功能,如性能)
18
+ - [ ] ✨ Feature(添加功能的连续性修改)
19
+ - [ ] ⚠️ 中断修改(重大的修改,如配置文件调整、模块移除)
20
+
21
+ ### 📚 描述
22
+
23
+ <!-- 详细说明你的更改 -->
24
+ <!-- 为什么需要此更改?它解决了什么问题?-->
25
+ <!-- 如果它解决了未解决的问题,请在此处链接到该问题。例如,“Resolves #1337” -->
26
+
27
+ ### 📝 清单
28
+
29
+ <!-- 在所有适用的框中放置一个“x”。 -->
30
+ <!-- 如果更改需要文档 PR,请适当地链接它 -->
31
+ <!-- 如果不确定其中任何一个,请随时询问。我们是来帮忙的! -->
32
+
33
+ - [ ] 我已链接问题或讨论。
34
+ - [ ] 我已经添加了测试(如果可能的话)。
35
+ - [ ] 我已相应地更新了[文档](https://github.com/efuo/theme-solitude-docs)。
package/CONTRIBUTING.md CHANGED
@@ -33,22 +33,11 @@ $ git push
33
33
  * 定期使用项目仓库内容更新自己仓库内容。
34
34
 
35
35
  ```bash
36
- $ git remote add upstream https://github.com/wleelw/Hexo-theme-solitude
36
+ $ git remote add upstream https://github.com/valor-x/Hexo-theme-solitude
37
37
  $ git fetch upstream
38
38
  $ git checkout dev
39
39
  $ git rebase upstream/dev
40
40
  $ git push -f origin dev
41
41
  ```
42
42
 
43
- * 不得添加任何第三方的创作,请自行创作插件并`PR`到 `solitude-pugins` 仓库
44
-
45
- ### 插件创作
46
- * 插件创作
47
-
48
- ```
49
- $ git clone git@github.com:{your-github-username}/solitude-plugins.git
50
- $ git config user.name "yourname"
51
- $ git config user.email "your email"
52
- ```
53
-
54
- * 根据 `README` 进行添加。
43
+ * 不得添加任何第三方的创作