halo-theme-anatole
说明
该主题的原作者为 Caicai,非常感谢做出这么优秀的主题。
原主题地址:https://github.com/hi-caicai/farbox-theme-Anatole
使用方式
- 在 Releases 下载最新的主题文件。
- 在 Halo 后台的主题管理上传主题文件进行安装。
开发环境
可以参考 https://docs.halo.run/developer-guide/theme/prepare 将主题仓库放置在 Halo 的工作目录。
Warning
注意,由于目前 Halo 的规定,主题目录名称必须和
theme.yaml的metadata.name保持一致。
git clone git@github.com:halo-dev/halo-theme-anatole.git ~/halo2-dev/themes/theme-anatole
# 或者当你 fork 之后
git clone git@github.com:{your_github_id}/halo-theme-anatole.git ~/halo2-dev/themes/theme-anatole
cd ~/halo2-dev/themes/theme-anatole
pnpm install
# 监听源码变动并自动编译资源
pnpm dev
# 构建资源
pnpm build