mirror of
https://github.com/halo-dev/theme-earth.git
synced 2026-06-15 01:06:54 +08:00
main
* Add recommended apps for app store plugin * Document recommended Halo apps in theme.yaml Add inline comments with direct Halo App Store URLs for the recommended apps (link manager, gallery manager, Moments, Shiki code highlighting, and lightgallery.js) and keep the existing recommended-apps list. This provides quick references for maintainers to the corresponding app pages.
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%
