fix: 解决重构后自定义页面问题

1. 添加模板回退机制,当找不到指定模板时自动使用page.hbs通用模板
2. 支持在页面配置中通过template字段指定使用的模板文件
3. 更新配置文件和文档,添加template字段使用说明

Closes #10
This commit is contained in:
Zuoling Rong
2025-05-09 16:12:49 +08:00
parent fb32f06f19
commit 4a5f44bc71
7 changed files with 98 additions and 3 deletions

View File

@@ -1,5 +1,9 @@
title: 技术文章
subtitle: 分享我的技术文章和学习笔记
# 指定使用的模板文件名现有页面模板可见templates\pages
template: articles
categories:
- name: 最新文章
icon: fas fa-pen