mirror of
https://github.com/halo-dev/theme-earth.git
synced 2026-06-05 01:13:07 +08:00
main
before <img width="1047" height="879" alt="before" src="https://github.com/user-attachments/assets/2d4eebaf-46b2-45af-bdd6-7a87255093aa" /> after <img width="913" height="798" alt="after" src="https://github.com/user-attachments/assets/fadf0f0f-17f1-4d6d-a6d0-144d680c91d0" /> ```release-note 修复 Docsme 插件 docs 页面布局异常的问题 ```
Earth
Halo 2.0 的默认主题。
使用方式
-
手动从以下地址下载主题包并在 Console 的主题管理界面安装,安装方式可参考:https://docs.halo.run/user-guide/themes
-
如果安装了应用市场插件,可以直接在应用市场中搜索
Earth并安装。
插件支持
Earth 主题支持以下 Halo 插件:
- 友情链接(/links):https://www.halo.run/store/apps/app-hfbQg
- 图库(/photos):https://www.halo.run/store/apps/app-BmQJW
- 瞬间(/moments):https://www.halo.run/store/apps/app-SnwWD
为了获得更好的体验,你还可以安装以下插件(如果需要):
- Shiki 代码高亮:https://www.halo.run/store/apps/app-kzloktzn
- lightgallery.js 灯箱:https://www.halo.run/store/apps/app-OoggD
开发
git clone git@github.com:halo-dev/theme-earth.git ~/halo2-dev/themes/theme-earth
cd ~/halo2-dev/themes/theme-earth
pnpm install
pnpm dev
主题开发文档可查阅:https://docs.halo.run/developer-guide/theme/prepare
构建
pnpm build
然后将 dist 目录的 ZIP 格式压缩包在 Halo 后台上传安装即可。
Description
Languages
HTML
74.9%
CSS
16.5%
TypeScript
7.1%
SCSS
1.1%
JavaScript
0.4%
