文章

网站建设系列二:Halo主题二开

Why ?

halo github:https://github.com/halo-dev/halo

awesome-halo:https://github.com/halo-sigs/awesome-halo

How ?

操作路径:https://docs.halo.run/category/%E7%B3%BB%E7%BB%9F%E5%BC%80%E5%8F%91/

halo 本地项目启动注意事项:

  1. 如果你原来clone过halo,建议删除重新来一遍,原因是有一些build或者gen生成的容易删不干净,并且版本之间可能存在不兼容情况,导致无法启动。

  2. 详细阅读官方文档,举例halo强依赖官方的基础plugin,如果你没有下载安装./gradlew downloadPluginPresets,你将无法运行

二次开发主题github:https://github.com/AirboZH/halo-theme-chirpy

二次开发后my github:https://github.com/boommanpro/halo-theme-chirpy

1.做哪些修改?

首页宽度太窄了,屏幕宽屏时展示内容太少