feat: 页面模板差异化改进 + 配置优化 + 兼容清理 (#29)

- 首页判定:navigation 第一项
- 模板:page/projects/articles/bookmarks/search-results
- bookmarks:update: YYYY-MM-DD | from: git|mtime
- articles:RSS 聚合只读条目 + 分类聚合 + 影子写回结构
- projects:repo 卡片 + 可选热力图 + 自动抓取元信息
- 工作流:构建前 sync + schedule 定时刷新
- 移除兼容:config.yml/config.yaml、navigation.yml、home 特例
- 迁移说明:config/update-instructions.md
This commit is contained in:
rbetree
2025-12-28 00:22:54 +08:00
committed by GitHub
parent 1475a8a0d3
commit 387cd2492e
35 changed files with 2927 additions and 851 deletions

View File

@@ -1,40 +1,43 @@
# 默认页面配置(请勿直接修改)。
# 建议复制到 config/user/pages/articles.yml 并按需调整。
title: 技术文章 # 页面标题
subtitle: 分享我的技术文章和学习笔记 # 页面副标题
subtitle: RSS 聚合文章列表 # 页面副标题
# 指定使用的模板文件名,现有页面模板可见 templates/pages不含 .hbs
template: articles
# 页面分类与站点列表
# 当存在 RSS 缓存时,页面将优先渲染“文章条目卡片”(只读)。
# - 本处的站点列表作为“来源站点”输入url 填站点首页)
# - 显示时会将“该分类下配置的站点”抓取到的文章聚合展示在该分类下
# 重要url 应填写“站点首页 URL”不是某一篇文章链接系统会自动发现 RSS/Atom。
categories:
- name: 最新文章
icon: fas fa-pen # 分类图标
- name: 个人博客
icon: fas fa-rss
sites:
- name: Vue3最佳实践 # 站点名称
icon: fab fa-vuejs # 文章/站点图标
description: Vue3组合式API的使用技巧 # 摘要
url: "#" # 链接(示例)
- name: JavaScript进阶
icon: fab fa-js
description: JavaScript高级特性解析
url: "#"
- name: Git使用技巧
icon: fab fa-git-alt
description: Git常用命令和工作流
url: "#"
- name: Docker入门
icon: fab fa-docker
description: Docker基础知识和实践
url: "#"
- name: 学习笔记
icon: fas fa-book
- name: 阮一峰的网络日志
icon: fas fa-pen
description: 技术文章与随笔
url: https://www.ruanyifeng.com/blog/
- name: Coolzr's Blog
icon: fas fa-pen
description: 偶尔会写点什么
url: https://blog.rzlnb.top/
- name: 天仙子
icon: fas fa-pen
description: tianxianzi
url: https://www.tianxianzi.me/
- name: pseudoyu
icon: fas fa-pen
description: pseudoyu
url: https://www.pseudoyu.com/
- name: 官方博客
icon: fas fa-rss
sites:
- name: React Hooks
icon: fab fa-react
description: React Hooks最佳实践
url: "#"
- name: Node.js实战
icon: fab fa-node-js
description: Node.js服务端开发笔记
url: "#"
- name: GitHub Blog
icon: fab fa-github
description: GitHub 官方博客(工程/产品/安全)
url: https://github.blog/
- name: Cloudflare Blog
icon: fas fa-cloud
description: Cloudflare 工程与安全博客
url: https://blog.cloudflare.com/