gogoes 無.Flac 我也是不生效,后台创建页面时,没有自定义页面出来,theme.yaml配置如下: spec: displayName: Chirpy author: name: AirboZH website: https://airbozh.cn description: A minimal, responsive and feature-rich Halo theme for technical writing. logo: https://chirpy-img.netlify.app/commons/avatar.jpg website: AirboZH/halo-theme-chirpy repo: AirboZH/halo-theme-chirpy.git settingName: "halo-theme-chirpy-setting" configMapName: "halo-theme-chirpy-configMap" version: 1.4.1 require: ">=2.0.0" customTemplates: page: - name: 首页 description: 用于首页配置 screenshot: file: default.html default.html 已建了的
gogoes 無.Flac 感谢提醒,修改后,需要重载一下主题配置,重启都没用,必须在主题管理里面重载下主题配置,这样就生效了,困扰很久的问题解决了。‘ 建议https://docs.halo.run/developer-guide/theme/template-route-mapping 这个文档加下说明,需要重载主题才生效(开发主题状态下可能不需要,我是直接部署主题后,再修改增加自定义模板)