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