halo-dev / halo-theme-anatole

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

halo-theme-anatole

说明

该主题的原作者为 Caicai,非常感谢做出这么优秀的主题。

原主题地址:https://github.com/hi-caicai/farbox-theme-Anatole

使用方式

  1. Releases 下载最新的主题文件。
  2. 在 Halo 后台的主题管理上传主题文件进行安装。

插件适配

开发环境

可以参考 https://docs.halo.run/developer-guide/theme/prepare 将主题仓库放置在 Halo 的工作目录。

Warning

注意,由于目前 Halo 的规定,主题目录名称必须和 theme.yamlmetadata.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

About


Languages

Language:JavaScript 90.3%Language:CSS 7.1%Language:HTML 2.0%Language:SCSS 0.4%Language:TypeScript 0.2%