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: 25 days 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 (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2026-03-28T03:59:48.000Z (2 months ago)
- Last Synced: 2026-03-28T09:21:48.626Z (2 months ago)
- Topics: halo, halo-theme, tailwindcss, thymeleaf, vite
- Language: HTML
- Homepage: https://demo.halo.run/?preview-theme=theme-earth
- Size: 1.89 MB
- Stars: 57
- Watchers: 4
- Forks: 73
- Open Issues: 23
-
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 的默认主题。

## 使用方式
1. 手动从以下地址下载主题包并在 Console 的主题管理界面安装,安装方式可参考:
- https://www.halo.run/store/apps/app-KgWqR
- https://github.com/halo-dev/theme-earth/releases
2. 如果安装了[应用市场](https://www.halo.run/store/apps/app-VYJbF)插件,可以直接在应用市场中搜索`Earth`并安装。
## 插件支持
Earth 主题支持以下 Halo 插件:
- 友情链接(/links):
- 图库(/photos):
- 瞬间(/moments):
为了获得更好的体验,你还可以安装以下插件(如果需要):
- Shiki 代码高亮:
- lightgallery.js 灯箱:
## 开发
```bash
git clone git@github.com:halo-dev/theme-earth.git ~/halo2-dev/themes/theme-earth
```
```bash
cd ~/halo2-dev/themes/theme-earth
```
```bash
pnpm install
```
```bash
pnpm dev
```
主题开发文档可查阅:
## 构建
```bash
pnpm build
```
然后将 `dist` 目录的 `ZIP` 格式压缩包在 Halo 后台上传安装即可。