-
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #156 from valor-x/dev
v1.5.3
- Loading branch information
Showing
14 changed files
with
185 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: 'Close stale issues and PRs' | ||
on: | ||
schedule: | ||
- cron: '30 1 * * *' | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v5 | ||
with: | ||
days-before-issue-stale: 30 | ||
days-before-pr-stale: -1 | ||
days-before-close: 7 | ||
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.' | ||
close-pr-message: 'This issue has not seen any activity since it was marked stale. Closing.' | ||
stale-issue-label: 'Stale' | ||
exempt-issue-labels: 'pinned,bug,enhancement,documentation,Plan' | ||
operations-per-run: 1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
.DS_STORE | ||
.vscode | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,91 +1,60 @@ | ||
<div align="right"> | ||
<a title="English" href="/README_EN.md">English</a> | ||
</div> | ||
简体中文丨[繁体中文](README_zh-tw.md)丨[English](README_EN.md) | ||
|
||
<div align="center"> | ||
<img width="200" style="border-radius:10%;" src="./.github/logo.png" alt="Solitude logo"/> | ||
|
||
<h1 align="center">Hexo Theme Solitude</h1> | ||
|
||
## Hexo-Theme-Solitude | ||
<p align="center">一款优雅的 Hexo 主题,支持懒加载、PWA、Latex以及多种评论系统。</p> | ||
|
||
 | ||
 | ||
 | ||
 | ||
 | ||
 | ||
[](https://github.com/valor-x/hexo-theme-solitude/stargazers) | ||
[](https://github.com/valor-x/hexo-theme-solitude/releases/latest) | ||
 | ||
 | ||
|
||
 | ||
|
||
主题预览: ✨ [亦封](https://blog.meuicat.cn/) | 🐞 [Demo](https://solitude-demo.efu.me/) | ||
|
||
主题文档: [中文](https://solitude-docs.efu.me/) | ||
|
||
## 💻 安裝 | ||
[预览](https://solitude-demo.efu.me/) 丨 [文档](https://solitude-docs.efu.me/) | ||
|
||
### Git 安裝 | ||
|
||
> 本仓库同时上传到 [Gitee](https://gitee.com/nsjjd_w/hexo-theme-solitude),如果你访问 Github 缓慢,可从 Gitee 中下载。 | ||
在博客根目录里安装稳定版【推荐】 | ||
|
||
```powershell | ||
git clone -b main https://github.com/valor-x/hexo-theme-solitude.git themes/solitude | ||
``` | ||
|
||
如果想要安装比较新的 dev 分支,可以在博客根目录里安装开发版 | ||
|
||
```powershell | ||
git clone -b dev https://github.com/valor-x/hexo-theme-solitude.git themes/solitude | ||
``` | ||
|
||
### NPM 安装 | ||
|
||
> 此方法只支持 Hexo 5.0.0 以上版本。通过 npm 安装并不会在 themes 里生成主题文件夹,而是在 node_modules 里生成 | ||
</div> | ||
|
||
在博客根目录里执行: | ||
 | ||
|
||
```powershell | ||
npm install hexo-theme-solitude | ||
``` | ||
## 特性 | ||
|
||
## ⚙ 应用主题 | ||
- 页面懒加载(Pjax)、图片懒加载(LazyLoad)、离线应用(PWA) | ||
- 评论(Twikoo、Waline) | ||
- 显示切换(ColorMode) | ||
- 灯箱(medium-zoom、fancybox) | ||
- 数学公式(Latex) | ||
- 特色页面:即刻短文、我的装备、在线工具、音乐馆、友链鱼塘、相册页、豆瓣页 | ||
- 文章功能:AI 摘要、代码高亮 | ||
|
||
修改hexo配置文件`_config.yml`,把主题改为`solitude` | ||
## Todo | ||
|
||
``` | ||
theme: solitude | ||
``` | ||
- [x] Waline 评论支持 | ||
- [ ] Tags plugin 插件化 | ||
- [ ] 相册页重构 | ||
|
||
## 🎉 特色 | ||
## 应用 | ||
|
||
- [x] 页面组件懒加载(pjax方案) | ||
- [x] 图片懒加载 | ||
- [x] 多种代码高亮方案 | ||
- [x] 多语言配置 | ||
- [x] 支持多种评论插件 | ||
- [x] 内置网页访问统计 | ||
- [x] 支持暗色模式 | ||
- [x] 支持自定义CDN静态资源 | ||
- [x] 支持多功能右键菜单 | ||
- [x] 支持定制化的主色调随封面图片颜色变化 | ||
- [x] 支持沉浸式状态栏 | ||
- [x] 支持百度分析 | ||
- [x] 支持图片大图查看 | ||
- [x] 支持瀑布流即刻说说 | ||
- [x] 瀑布流相册 | ||
- [x] 支持自定义图标(iconfont、CoDeSign、fontawesome) | ||
- [x] 支持高速缓存的swpp,pwa特性 | ||
- [x] 优秀的隐私协议支持 | ||
- [x] 文章摘要AI支持 | ||
- [x] 支持全局中控台 | ||
- [x] 支持本地搜索/algolia搜索🔍 | ||
- [x] 支持 Latex 数学公式 | ||
- [x] 支持 PWA | ||
1. 使用 NPM 包进行安装 | ||
```bash | ||
npm i hexo-theme-solitude | ||
``` | ||
2. 应用主题 | ||
```yaml | ||
theme: solitude | ||
``` | ||
|
||
前往 [文档](https://solitude-docs.efu.me/) 获取更多信息。 | ||
|
||
## ✨ 贡献者 | ||
## 贡献者 | ||
|
||
<a href="https://github.com/valor-x/hexo-theme-solitude/graphs/contributors"> | ||
<img src="https://contrib.rocks/image?repo=valor-x/hexo-theme-solitude" /> | ||
<img alt="contributors" src="https://contrib.rocks/image?repo=valor-x/hexo-theme-solitude" /> | ||
</a> | ||
|
||
**主题由 [@张洪Heo](https://github.com/zhheo) 作者全权授权、设计!** | ||
|
||
> 欢迎你对本主题做出贡献 | ||
> 欢迎你对本主题做出贡献 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,91 +1,60 @@ | ||
<div align="right"> | ||
<a title="English" href="/README.md">中文</a> | ||
</div> | ||
[简体中文](README.md)丨[繁体中文](README_EN.md)丨English | ||
|
||
<div align="center"> | ||
<img width="200" style="border-radius:10%;" src="./.github/logo.png" alt="Solitude logo"/> | ||
|
||
<h1 align="center">Hexo Theme Solitude</h1> | ||
|
||
## Hexo-Theme-Solitude | ||
<p align="center">An elegant Hexo theme that supports lazy loading, PWA, Latex, and multiple comment systems.</p> | ||
|
||
 | ||
 | ||
 | ||
 | ||
[](https://github.com/valor-x/hexo-theme-solitude/releases/latest) | ||
 | ||
 | ||
 | ||
[](https://github.com/valor-x/hexo-theme-solitude/stargazers) | ||
[](https://github.com/valor-x/hexo-theme-solitude/releases/latest) | ||
|
||
 | ||
|
||
Theme Preview: [亦封](https://blog.meuicat.cn/)|[Demo](https://solitude-demo.efu.me/) | ||
|
||
Theme Document: [中文](https://solitude-docs.efu.me/) | ||
|
||
## 💻 Installation | ||
|
||
### Installation via Git | ||
|
||
> This repository is also uploaded to [Gitee](https://gitee.com/nsjjd_w/hexo-theme-solitude). If you have trouble accessing Github, you can download it from Gitee. | ||
Install the stable version in the root of your blog directory 【Recommended】 | ||
|
||
```powershell | ||
git clone -b main https://github.com/valor-x/hexo-theme-solitude.git themes/solitude | ||
``` | ||
|
||
If you want to install the latest development version, you can install the dev branch in the root of your blog directory | ||
|
||
```powershell | ||
git clone -b dev https://github.com/valor-x/hexo-theme-solitude.git themes/solitude | ||
``` | ||
[Preview](https://solitude-demo.efu.me/) 丨 [Documentation](https://solitude-docs.efu.me/) | ||
|
||
### Installation via NPM | ||
</div> | ||
|
||
> This method only supports Hexo versions above 5.0.0. Installing through npm will not generate a theme folder in themes, but in node_modules instead. | ||
 | ||
|
||
Execute the following command in the root of your blog directory: | ||
## Features | ||
|
||
```powershell | ||
npm install hexo-theme-solitude | ||
``` | ||
- Pjax、LazyLoad、PWA | ||
- Comments(Twikoo、Waline) | ||
- ColorMode | ||
- Lightbox(medium-zoom、fancybox) | ||
- Mathematical formulas(Latex) | ||
- Featured pages: Instant Short Article, My Equipment, Online Tools, Music Gallery, Friend Chain Fish Pond, Photo Album Page, Douban Page | ||
- Article features: AI summary, code highlighting | ||
|
||
## ⚙ Applying the Theme | ||
## Todo | ||
|
||
Modify the hexo configuration file `_config.yml` and change the theme to `solitude` | ||
- [x] Support Waline | ||
- [ ] Tags plugin | ||
- [ ] Album reconstruction | ||
|
||
``` | ||
theme: solitude | ||
``` | ||
## Setup | ||
|
||
## 🎉 Features | ||
1. Use the NPM package | ||
```bash | ||
npm i hexo-theme-solitude | ||
``` | ||
2. Apply | ||
```yaml | ||
theme: solitude | ||
``` | ||
|
||
- [x] Lazy loading of page components (pjax scheme) | ||
- [x] Lazy loading of images | ||
- [x] Multiple code highlighting schemes | ||
- [x] Multi-language configuration | ||
- [x] Support for multiple comment plugins | ||
- [x] Built-in web page access statistics | ||
- [x] Support for dark mode | ||
- [x] Support for footnote syntax | ||
- [x] Support for custom CDN static resources | ||
- [x] Support multi-function right-click menu | ||
- [x] Support for customizing the main color to change with the color of the cover image | ||
- [x] Support for immersive status bars | ||
- [x] Support for Baidu Analytics | ||
- [x] Support viewing large images | ||
- [x] Support for waterfall instant talk | ||
- [x] Support for custom icons (iconfont, CoDeSign, fontawesome) | ||
- [x] Support SWPP and PWA features for caching | ||
- [x] Excellent privacy protocol support | ||
- [x] Article abstract AI support | ||
- [x] Support for global center consoles | ||
- [x] Support local search/algolia search 🔍 | ||
- [x] Support for Katex math formulas | ||
- [x] PWA support | ||
Check out the [Documentation](https://solitude-docs.efu.me/) for more information. | ||
|
||
## ✨ Contributors | ||
## Contributors | ||
|
||
<a href="https://github.com/valor-x/hexo-theme-solitude/graphs/contributors"> | ||
<img src="https://contrib.rocks/image?repo=valor-x/hexo-theme-solitude" /> | ||
<img alt="contributors" src="https://contrib.rocks/image?repo=valor-x/hexo-theme-solitude" /> | ||
</a> | ||
|
||
**This theme designed and authorized by the author [张洪Heo](https://github.com/zhheo)!** | ||
**Theme is fully licensed and designed by the author of [@张洪Heo](https://github.com/zhheo)!** | ||
|
||
> Welcome to contribute to this theme! [Contribution Guide](/CONTRIBUTING.md) | ||
> You are welcome to contribute to this topic! [Contribution Guide](/CONTRIBUTING.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
[简体中文](README.md)丨繁体中文丨[English](README_EN.md) | ||
|
||
<div align="center"> | ||
<img width="200" style="border-radius:10%;" src="./.github/logo.png" alt="Solitude logo"/> | ||
|
||
<h1 align="center">Hexo Theme Solitude</h1> | ||
|
||
<p align="center">一款優雅的 Hexo 主題,支援懶載入、PWA、Latex以及多種評論系統。</p> | ||
|
||
 | ||
 | ||
 | ||
 | ||
[](https://github.com/valor-x/hexo-theme-solitude/stargazers) | ||
[](https://github.com/valor-x/hexo-theme-solitude/releases/latest) | ||
|
||
[預覽](https://solitude-demo.efu.me/) 丨 [文档](https://solitude-docs.efu.me/) | ||
|
||
</div> | ||
|
||
 | ||
|
||
## 特性 | ||
|
||
- 頁面懶載入(Pjax)、圖片懶載入(LazyLoad)、離線應用(PWA) | ||
- 評論(Twikoo、Waline) | ||
- 顯示切換(ColorMode) | ||
- 燈箱(medium-zoom、fancybox) | ||
- 數學公式(Latex) | ||
- 特色頁面:即刻短文、我的裝備、在線工具、音樂館、友鏈魚塘、相冊頁、豆瓣頁 | ||
- 文章功能:AI 摘要、代碼高亮 | ||
|
||
## Todo | ||
|
||
- [x] Waline 評論支援 | ||
- [ ] Tags plugin 外掛程式化 | ||
- [ ] 相冊頁重構 | ||
|
||
## 應用 | ||
|
||
1. 使用 NPM 包進行安裝 | ||
```bash | ||
npm i hexo-theme-solitude | ||
``` | ||
2. 應用主題 | ||
```yaml | ||
theme: solitude | ||
``` | ||
|
||
前往 [文檔](https://solitude-docs.efu.me) 獲取更多資訊。 | ||
|
||
## 貢獻者 | ||
|
||
<a href="https://github.com/valor-x/hexo-theme-solitude/graphs/contributors"> | ||
<img alt="contributors" src="https://contrib.rocks/image?repo=valor-x/hexo-theme-solitude" /> | ||
</a> | ||
|
||
**主題由 [@张洪Heo](https://github.com/zhheo) 全權授權、設計!** | ||
|
||
> 歡迎你對本主題做出貢獻 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.