theme-unclequark/README.md

56 lines
1.3 KiB
Markdown
Raw Normal View History

2025-03-31 14:56:54 +00:00
# UncleQuark
2025-03-31 14:53:42 +00:00
2025-03-31 14:56:54 +00:00
Halo 2.0 的企业主题。
2025-03-31 14:53:42 +00:00
2025-03-31 14:56:54 +00:00
![UncleQuark](./screenshot.jpg)
2025-03-31 14:53:42 +00:00
## 使用方式
1. 手动从以下地址下载主题包并在 Console 的主题管理界面安装,安装方式可参考:<https://docs.halo.run/user-guide/themes>
2025-03-31 14:56:54 +00:00
- https://github.com/BigQubot/theme-unclequark/releases
2025-03-31 14:53:42 +00:00
## 插件支持
2025-03-31 14:56:54 +00:00
UncleQuark 主题支持以下 Halo 插件:
2025-03-31 14:53:42 +00:00
- 友情链接(/links<https://halo.run/store/apps/app-hfbQg>
- 图库(/photos<https://halo.run/store/apps/app-BmQJW>
- 瞬间(/moments<https://halo.run/store/apps/app-SnwWD>
为了获得更好的体验,你还可以安装以下插件(如果需要):
- highlight.js 代码高亮:<https://halo.run/store/apps/app-sqpgf>
- lightgallery.js 灯箱:<https://halo.run/store/apps/app-OoggD>
## 开发
```bash
2025-03-31 14:56:54 +00:00
git clone git@github.com:BigQubot/theme-unclequark.git ~/halo2-dev/themes/theme-unclequark
2025-03-31 14:53:42 +00:00
```
```bash
2025-03-31 14:56:54 +00:00
cd ~/halo2-dev/themes/theme-unclequark
2025-03-31 14:53:42 +00:00
```
```bash
pnpm install
```
```bash
pnpm dev
```
主题开发文档可查阅:<https://docs.halo.run/2.0.0-SNAPSHOT/developer-guide/theme/prepare>
## 构建
> 如果你使用的是 Windows 操作系统,请安装 `make` 命令并在 Git Bash 或 WSL 中执行。
```bash
make build
```
然后将 `dist` 目录压缩成 `ZIP` 格式压缩包即可在 Halo 后台上传安装。