hexo-theme-solitude 1.5.1 → 1.5.3
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/FUNDING.yml +2 -2
- package/.github/ISSUE_TEMPLATE/config.yml +17 -0
- package/.github/ISSUE_TEMPLATE/feature_request.yml +48 -0
- package/.github/PULL_REQUEST_TEMPLATE.md +35 -0
- package/.github/logo.png +0 -0
- package/.github/screenshot.png +0 -0
- package/.github/workflows/stale.yml +19 -0
- package/CONTRIBUTING.md +2 -13
- package/LICENSE +21 -674
- package/README.md +41 -96
- package/README_EN.md +40 -96
- package/README_zh-tw.md +60 -0
- package/SECURITY.md +9 -0
- package/_config.yml +235 -264
- package/languages/{en-US.yml → en.yml} +3 -4
- package/languages/zh-CN.yml +0 -1
- package/languages/zh-TW.yml +0 -1
- package/layout/404.pug +1 -1
- package/layout/includes/body/gadsense.pug +9 -0
- package/layout/includes/console.pug +6 -6
- package/layout/includes/footer.pug +13 -13
- package/layout/includes/inject/body.pug +10 -1
- package/layout/includes/inject/head.pug +4 -4
- package/layout/includes/mixins/pagination.pug +2 -2
- package/layout/includes/nav.pug +2 -2
- package/layout/includes/page/album.pug +9 -9
- package/layout/includes/page/says.pug +5 -5
- package/layout/includes/sidebar.pug +2 -3
- package/layout/includes/widgets/aside/asideInfoCard.pug +1 -1
- package/layout/includes/widgets/aside/asideNewestPost.pug +1 -1
- package/layout/includes/widgets/aside/asideToc.pug +1 -1
- package/layout/includes/widgets/aside/asideWebInfo.pug +8 -8
- package/layout/includes/widgets/home/banner.pug +1 -1
- package/layout/includes/widgets/home/bbTimeList.pug +7 -7
- package/layout/includes/widgets/home/categoryBar.pug +5 -4
- package/layout/includes/widgets/home/categoryGroup.pug +1 -1
- package/layout/includes/widgets/home/postList.pug +8 -2
- package/layout/includes/widgets/home/topGroup.pug +1 -1
- package/layout/includes/widgets/nav/menu.pug +1 -1
- package/layout/includes/widgets/nav/right.pug +6 -6
- package/layout/includes/widgets/page/about/award.pug +3 -3
- package/layout/includes/widgets/page/about/hobbies.pug +1 -1
- package/layout/includes/widgets/page/banner.pug +1 -1
- package/layout/includes/widgets/page/equipment/content.pug +1 -1
- package/layout/includes/widgets/page/links/banner.pug +3 -3
- package/layout/includes/widgets/page/moments/angle.pug +1 -1
- package/layout/includes/widgets/post/award.pug +1 -1
- package/layout/includes/widgets/post/copyright.pug +1 -1
- package/layout/includes/widgets/post/post-ai.pug +1 -1
- package/layout/includes/widgets/post/postMeta.pug +12 -12
- package/layout/includes/widgets/rightside/index.pug +25 -25
- package/layout/includes/widgets/third-party/comments/comment.pug +1 -1
- package/layout/includes/widgets/third-party/music.pug +1 -1
- package/layout/includes/widgets/third-party/search/algolia-search.pug +2 -2
- package/layout/includes/widgets/third-party/search/local-search.pug +1 -1
- package/layout/index.pug +2 -2
- package/package.json +9 -9
- package/plugins.yml +8 -12
- package/scripts/event/cdn.js +10 -0
- package/scripts/event/welcome.js +1 -1
- package/scripts/filter/lazyload.js +2 -3
- package/scripts/helper/related_post.js +1 -1
- package/scripts/tags/card.js +1 -1
- package/scripts/tags/mermaid.js +9 -0
- package/scripts/tags/tabs.js +2 -2
- package/source/css/_global/animation.styl +1 -1
- package/source/css/_global/index.styl +27 -27
- package/source/css/_layout/basic.styl +18 -18
- package/source/css/_layout/header.styl +67 -67
- package/source/css/_layout/index.styl +14 -14
- package/source/css/_mode/index.styl +88 -88
- package/source/css/_page/_about/author.styl +5 -5
- package/source/css/_page/_about/buff.styl +1 -1
- package/source/css/_page/_about/careers.styl +1 -1
- package/source/css/_page/_about/contentinfo.styl +2 -2
- package/source/css/_page/_about/game.styl +2 -2
- package/source/css/_page/_about/like.styl +2 -2
- package/source/css/_page/_about/myphoto.styl +1 -1
- package/source/css/_page/_about/oneself.styl +2 -2
- package/source/css/_page/_about/reward.styl +11 -11
- package/source/css/_page/_about/skills.styl +2 -2
- package/source/css/_page/_about/statistic.styl +4 -4
- package/source/css/_page/_about/tenyear.styl +4 -4
- package/source/css/_page/_gallery/index.styl +7 -7
- package/source/css/_page/_home/category-bar.styl +11 -8
- package/source/css/_page/_home/home-top.styl +16 -16
- package/source/css/_page/_home/index.styl +1 -1
- package/source/css/_page/_home/pagination.styl +22 -22
- package/source/css/_page/_home/recent-post.styl +22 -15
- package/source/css/_page/category.styl +11 -11
- package/source/css/_page/douban.styl +10 -10
- package/source/css/_page/equipment.styl +10 -10
- package/source/css/_page/error.styl +3 -3
- package/source/css/_page/google.styl +32 -0
- package/source/css/_page/index.styl +4 -1
- package/source/css/_page/links.styl +27 -27
- package/source/css/_page/moment.styl +22 -22
- package/source/css/_page/music.styl +16 -14
- package/source/css/_page/says.styl +21 -21
- package/source/css/_page/share.styl +25 -25
- package/source/css/_page/tag.styl +12 -12
- package/source/css/_widgets/_aside/allinfo.styl +12 -12
- package/source/css/_widgets/_aside/index.styl +4 -4
- package/source/css/_widgets/_aside/info.styl +27 -27
- package/source/css/_widgets/_aside/newPost.styl +5 -5
- package/source/css/_widgets/_aside/toc.styl +7 -7
- package/source/css/_widgets/_comment/index.styl +7 -7
- package/source/css/_widgets/_comment/twikoo.styl +66 -50
- package/source/css/_widgets/_comment/waline.styl +45 -44
- package/source/css/_widgets/_extra/console.styl +29 -29
- package/source/css/_widgets/_extra/fullpage.styl +1 -1
- package/source/css/_widgets/_extra/music.styl +11 -11
- package/source/css/_widgets/_extra/pace.styl +2 -2
- package/source/css/_widgets/_extra/rightmenu.styl +8 -8
- package/source/css/_widgets/_mixins/article-sort.styl +7 -7
- package/source/css/_widgets/_mixins/footer.styl +28 -28
- package/source/css/_widgets/_mixins/keyboard.styl +8 -8
- package/source/css/_widgets/_mixins/other.styl +4 -4
- package/source/css/_widgets/_mixins/sidebar.styl +20 -20
- package/source/css/_widgets/_post/_highlight/index.styl +16 -16
- package/source/css/_widgets/_post/_highlight/theme/default.styl +1 -1
- package/source/css/_widgets/_post/_highlight/theme/mac.styl +1 -1
- package/source/css/_widgets/_post/commentBarrage.styl +13 -13
- package/source/css/_widgets/_post/content.styl +27 -26
- package/source/css/_widgets/_post/copyright.styl +9 -9
- package/source/css/_widgets/_post/meta.styl +27 -27
- package/source/css/_widgets/_post/pagination.styl +13 -13
- package/source/css/_widgets/_post/postAI.styl +18 -18
- package/source/css/_widgets/_post/relatedPost.styl +8 -8
- package/source/css/_widgets/_post/tools.styl +30 -30
- package/source/css/_widgets/_search/algolia-search.styl +18 -18
- package/source/css/_widgets/_search/local-search.styl +22 -22
- package/source/css/_widgets/_tags/button.styl +1 -1
- package/source/css/_widgets/_tags/card.styl +12 -12
- package/source/css/_widgets/_tags/fold.styl +11 -11
- package/source/css/_widgets/_tags/index.styl +26 -26
- package/source/css/_widgets/_tags/link.styl +10 -9
- package/source/css/_widgets/_tags/mermaid.styl +4 -0
- package/source/css/_widgets/_tags/note.styl +2 -2
- package/source/css/_widgets/_tags/tabs.styl +10 -10
- package/source/css/_widgets/_tags/timeline.styl +5 -5
- package/source/img/logo.png +0 -0
- package/source/js/comment/twikoo_commentBarrage.js +1 -1
- package/source/js/comment/waline_commentBarrage.js +1 -1
- package/source/js/covercolor/api.js +18 -18
- package/source/js/covercolor/local.js +18 -18
- package/source/js/main.js +5 -5
- package/source/js/music.js +1 -12
- package/source/js/search/algolia.js +7 -7
- package/source/js/tw_cn.js +2 -2
- package/source/js/universe.min.js +5 -0
- package/source/js/utils.js +2 -2
- package/source/js/waterfall.min.js +1 -0
package/.github/FUNDING.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# These are supported funding model platforms
|
2
2
|
|
3
|
-
github:
|
3
|
+
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
4
4
|
patreon: # Replace with a single Patreon username
|
5
5
|
open_collective: # Replace with a single Open Collective username
|
6
6
|
ko_fi: # Replace with a single Ko-fi username
|
@@ -10,4 +10,4 @@ liberapay: # Replace with a single Liberapay username
|
|
10
10
|
issuehunt: # Replace with a single IssueHunt username
|
11
11
|
otechie: # Replace with a single Otechie username
|
12
12
|
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
|
13
|
-
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
|
13
|
+
custom: ['https://afdian.net/a/efu0u0'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
|
@@ -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/.github/logo.png
ADDED
Binary file
|
Binary file
|
@@ -0,0 +1,19 @@
|
|
1
|
+
name: 'Close stale issues and PRs'
|
2
|
+
on:
|
3
|
+
schedule:
|
4
|
+
- cron: '30 1 * * *'
|
5
|
+
|
6
|
+
jobs:
|
7
|
+
stale:
|
8
|
+
runs-on: ubuntu-latest
|
9
|
+
steps:
|
10
|
+
- uses: actions/stale@v5
|
11
|
+
with:
|
12
|
+
days-before-issue-stale: 30
|
13
|
+
days-before-pr-stale: -1
|
14
|
+
days-before-close: 7
|
15
|
+
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
|
16
|
+
close-pr-message: 'This issue has not seen any activity since it was marked stale. Closing.'
|
17
|
+
stale-issue-label: 'Stale'
|
18
|
+
exempt-issue-labels: 'pinned,bug,enhancement,documentation,Plan'
|
19
|
+
operations-per-run: 1000
|
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/
|
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
|
-
*
|
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
|
+
* 不得添加任何第三方的创作
|