mirror of
https://github.com/halo-dev/docs.git
synced 2026-05-05 01:02:40 +08:00
docs: restructure theme development documentation (#450)
重构主题开发的部分文档,合并模板路由和模板变量章节。 /kind documentation ```release-note None ```
This commit is contained in:
@@ -27,7 +27,7 @@ my-theme
|
||||
|
||||
详细说明:
|
||||
|
||||
1. `/templates/` - 主题模板目录,存放主题模板文件,所有模板都需要放在这个目录。关于模板的详细说明,请查阅 [模板路由](./template-route-mapping)。
|
||||
1. `/templates/` - 主题模板目录,存放主题模板文件,所有模板都需要放在这个目录。关于模板的详细说明,请查阅 [模板编写](./template-variables.md)。
|
||||
2. `/templates/assets/` - 主题静态资源目录,存放主题的静态资源文件,目前静态资源文件只能放在这个目录,引用方式请查阅 [静态资源](./static-resources)。
|
||||
3. `/theme.yaml` - 主题配置文件,配置主题的基本信息,如主题名称、版本、作者等。详细文档请查阅 [配置文件](./config)。
|
||||
4. `/settings.yaml` - 主题设置定义文件,配置主题的设置项表单。详细文档请查阅 [设置选项](./settings)。
|
||||
|
||||
Reference in New Issue
Block a user