> For AI agents: the complete documentation index is available at https://docs.halo.run/llms.txt, the full documentation bundle is available at https://docs.halo.run/llms-full.txt.

# 模板编写

## 页面模板与变量

### [首页](/developer-guide/theme/template-variables/home.md)

- [路由信息](/developer-guide/theme/template-variables/home.md#路由信息)
- [变量](/developer-guide/theme/template-variables/home.md#变量)
- [类型定义](/developer-guide/theme/template-variables/home.md#类型定义)

### [文章](/developer-guide/theme/template-variables/post.md)

- [路由信息](/developer-guide/theme/template-variables/post.md#路由信息)
- [变量](/developer-guide/theme/template-variables/post.md#变量)
- [类型定义](/developer-guide/theme/template-variables/post.md#类型定义)

### [单页面](/developer-guide/theme/template-variables/page.md)

- [路由信息](/developer-guide/theme/template-variables/page.md#路由信息)
- [变量](/developer-guide/theme/template-variables/page.md#变量)
- [类型定义](/developer-guide/theme/template-variables/page.md#类型定义)

### [文章归档](/developer-guide/theme/template-variables/archives.md)

- [路由信息](/developer-guide/theme/template-variables/archives.md#路由信息)
- [变量](/developer-guide/theme/template-variables/archives.md#变量)
- [类型定义](/developer-guide/theme/template-variables/archives.md#类型定义)

### [文章标签集合](/developer-guide/theme/template-variables/tags.md)

- [路由信息](/developer-guide/theme/template-variables/tags.md#路由信息)
- [变量](/developer-guide/theme/template-variables/tags.md#变量)
- [类型定义](/developer-guide/theme/template-variables/tags.md#类型定义)

### [标签归档](/developer-guide/theme/template-variables/tag.md)

- [路由信息](/developer-guide/theme/template-variables/tag.md#路由信息)
- [变量](/developer-guide/theme/template-variables/tag.md#变量)
- [类型定义](/developer-guide/theme/template-variables/tag.md#类型定义)

### [文章分类集合](/developer-guide/theme/template-variables/categories.md)

- [路由信息](/developer-guide/theme/template-variables/categories.md#路由信息)
- [变量](/developer-guide/theme/template-variables/categories.md#变量)
- [类型定义](/developer-guide/theme/template-variables/categories.md#类型定义)

### [分类归档](/developer-guide/theme/template-variables/category.md)

- [路由信息](/developer-guide/theme/template-variables/category.md#路由信息)
- [变量](/developer-guide/theme/template-variables/category.md#变量)
- [类型定义](/developer-guide/theme/template-variables/category.md#类型定义)

### [作者归档](/developer-guide/theme/template-variables/author.md)

- [路由信息](/developer-guide/theme/template-variables/author.md#路由信息)
- [变量](/developer-guide/theme/template-variables/author.md#变量)
- [类型定义](/developer-guide/theme/template-variables/author.md#类型定义)

### [认证页面](/developer-guide/theme/template-variables/auth.md)

- [原理讲解](/developer-guide/theme/template-variables/auth.md#原理讲解)
- [自定义场景](/developer-guide/theme/template-variables/auth.md#自定义场景)

### [错误页面](/developer-guide/theme/template-variables/error.md)

- [路由信息](/developer-guide/theme/template-variables/error.md#路由信息)
- [变量](/developer-guide/theme/template-variables/error.md#变量)
