Files
menav/config/_default/pages/friends.yml
Zuoling Rong 4a5f44bc71 fix: 解决重构后自定义页面问题
1. 添加模板回退机制,当找不到指定模板时自动使用page.hbs通用模板
2. 支持在页面配置中通过template字段指定使用的模板文件
3. 更新配置文件和文档,添加template字段使用说明

Closes #10
2025-05-09 16:14:15 +08:00

33 lines
953 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
title: 友情链接
subtitle: 优秀的博主和朋友们
# 指定使用的模板文件名现有页面模板可见templates\pages
template: friends
categories:
- name: 技术博主
icon: fas fa-user-friends
sites:
- name: 小明的博客
icon: fas fa-code
description: 全栈开发工程师,分享技术心得
url: "#"
- name: 小红的前端
icon: fas fa-paint-brush
description: 专注前端开发与设计
url: "#"
- name: 小张的后端
icon: fas fa-server
description: 分享后端开发经验
url: "#"
- name: 技术社区
icon: fas fa-laptop-code
sites:
- name: GitHub
icon: fab fa-github
description: 开源代码托管平台
url: https://github.com
- name: Stack Overflow
icon: fab fa-stack-overflow
description: 程序员问答社区
url: https://stackoverflow.com