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 [email protected]:halo-dev/theme-earth.git ~/halo2-dev/themes/theme-earthcd ~/halo2-dev/themes/theme-earthpnpm install pnpm dev主题开发文档可查阅:https://docs.halo.run/developer-guide/theme/prepare
pnpm build然后将 dist 目录的 ZIP 格式压缩包在 Halo 后台上传安装即可。
