feat: support custom page

This commit is contained in:
henry.chen
2025-07-17 15:55:32 +08:00
parent 24bfe528b2
commit b69248f6a4
40 changed files with 29 additions and 3 deletions

View File

@@ -118,3 +118,13 @@ type Blogger struct {
// 版权, 如 本站使用「<a href="//creativecommons.org/licenses/by/4.0/">署名 4.0 国际</a>」创作共享协议,转载请注明作者及原网址。
Copyright string // 版权
}
// CustomPage 自定义页面配置
type CustomPage struct {
// 页面名称, 如 独立作品
Name string
// 页面链接, 如 /works
Path string
// 是否显示在导航栏, 如 true
ShowInNav bool
}