Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 601 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 601 Bytes

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 后台上传安装。