fix: 解决重构后自定义页面问题
1. 添加模板回退机制,当找不到指定模板时自动使用page.hbs通用模板 2. 支持在页面配置中通过template字段指定使用的模板文件 3. 更新配置文件和文档,添加template字段使用说明 Closes #10
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
title: 我的书签
|
||||
subtitle: 从浏览器导入的书签收藏
|
||||
|
||||
# 指定使用的模板文件名,现有页面模板可见templates\pages
|
||||
template: bookmarks
|
||||
|
||||
categories:
|
||||
- name: 技术资源
|
||||
icon: fas fa-folder
|
||||
|
||||
Reference in New Issue
Block a user