mirror of
https://github.com/halo-dev/docs.git
synced 2026-01-16 03:06:06 +08:00
完善主题开发文档关于 VO 字段的描述。 /kind documentation Fixes https://github.com/halo-dev/docs/issues/122 ```release-note None ```
758 B
758 B
title, description
| title | description |
|---|---|
| 独立页面 | page.html - /:slug |
import SinglePageVo from "../vo/SinglePageVo.md" import Contributor from "../vo/Contributor.md" import ContentVo from "../vo/ContentVo.md"
路由信息
- 模板路径:
/templates/page.html - 访问路径:
/:slug
变量
singlePage
变量类型
示例
<article>
<h1 th:text="${singlePage.spec.title}"></h1>
<div th:utext="${singlePage.content.content}"> </div>
</article>
_templateId
变量值
page