/theme-earth

Halo 2.0 的默认主题

Primary LanguageHTMLGNU General Public License v3.0GPL-3.0

Earth

Halo 2.0 的默认主题。

Earth

开发

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/2.0.0-SNAPSHOT/developer-guide/theme/prepare

构建

如果你使用的是 Windows 操作系统,请安装 make 命令并在 Git Bash 或 WSL 中执行。

make build

然后将 dist 目录压缩成 ZIP 格式压缩包即可在 Halo 后台上传安装。