Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/halo-dev/theme-earth
Halo 2.0 的默认主题
https://github.com/halo-dev/theme-earth
halo halo-theme tailwindcss thymeleaf vite
Last synced: about 1 month ago
JSON representation
Halo 2.0 的默认主题
- Host: GitHub
- URL: https://github.com/halo-dev/theme-earth
- Owner: halo-dev
- License: gpl-3.0
- Created: 2022-07-20T09:49:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-11T16:10:11.000Z (8 months ago)
- Last Synced: 2024-04-12T15:41:56.241Z (8 months ago)
- Topics: halo, halo-theme, tailwindcss, thymeleaf, vite
- Language: HTML
- Homepage: https://demo.halo.run/?preview-theme=theme-earth
- Size: 1.53 MB
- Stars: 36
- Watchers: 4
- Forks: 36
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-halo - theme-earth - Halo 2.0 的默认主题 (Halo 2.0 / 主题)
README
# Earth
Halo 2.0 的默认主题。
![Earth](./screenshot.jpg)
## 使用方式
1. 手动从以下地址下载主题包并在 Console 的主题管理界面安装,安装方式可参考:
- https://www.halo.run/store/apps/app-KgWqR
- https://github.com/halo-dev/theme-earth/releases3. 如果安装了[应用市场](https://www.halo.run/store/apps/app-VYJbF)插件,可以直接在应用市场中搜索`Earth`并安装。
## 插件支持
Earth 主题支持以下 Halo 插件:
- 友情链接(/links):
- 图库(/photos):
- 瞬间(/moments):为了获得更好的体验,你还可以安装以下插件(如果需要):
- highlight.js 代码高亮:
- lightgallery.js 灯箱:## 开发
```bash
git clone [email protected]:halo-dev/theme-earth.git ~/halo2-dev/themes/theme-earth
``````bash
cd ~/halo2-dev/themes/theme-earth
``````bash
pnpm install
``````bash
pnpm dev
```主题开发文档可查阅:
## 构建
> 如果你使用的是 Windows 操作系统,请安装 `make` 命令并在 Git Bash 或 WSL 中执行。
```bash
make build
```然后将 `dist` 目录压缩成 `ZIP` 格式压缩包即可在 Halo 后台上传安装。