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:
@@ -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/
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
# 默认页面配置(请勿直接修改)。
|
||||
# 建议复制到 config/user/pages/bookmarks.yml 并按需调整。
|
||||
# 说明:该页面通常由“书签导入工具”自动生成,手工修改时请保持字段结构一致。
|
||||
title: 我的书签
|
||||
subtitle: 网页书签收藏
|
||||
title: 书签
|
||||
subtitle: bookmarks
|
||||
|
||||
# 指定使用的模板文件名,现有页面模板可见 templates/pages(不含 .hbs)
|
||||
# 提示:bookmarks 模板页面标题区会自动显示“内容更新:YYYY-MM-DD(git|mtime)”,无需额外配置
|
||||
template: bookmarks
|
||||
|
||||
categories:
|
||||
|
||||
@@ -1,15 +1,16 @@
|
||||
# 默认页面配置(请勿直接修改)。
|
||||
# 建议复制到 config/user/pages/home.yml 并按需调整。
|
||||
title: 欢迎使用 # 页面标题
|
||||
subtitle: 个人导航站点 # 页面副标题
|
||||
# 建议复制到 config/user/pages/common.yml 并按需调整。
|
||||
title: 常用网站 # 页面标题
|
||||
subtitle: Common website # 页面副标题
|
||||
|
||||
# 指定使用的模板文件名,现有页面模板可见 templates/pages(不含 .hbs)
|
||||
template: home
|
||||
# 说明:推荐使用通用模板 page;首页由“导航第一项”决定
|
||||
template: page
|
||||
|
||||
# 页面分类与站点列表(可按需增删顺序)
|
||||
# 页面分类与站点列表
|
||||
categories:
|
||||
- name: 常用网站
|
||||
icon: fas fa-star # 分类图标(Font Awesome)
|
||||
- name: 置顶
|
||||
icon: fas fa-star # 分类图标
|
||||
sites:
|
||||
- name: Linux.do # 站点名称
|
||||
url: https://linux.do/ # http/https URL(favicon 模式将尝试加载站点图标)
|
||||
@@ -50,10 +51,6 @@ categories:
|
||||
url: https://www.bilibili.com
|
||||
icon: fas fa-play-circle
|
||||
description: 视频学习平台
|
||||
- name: 知乎
|
||||
url: https://www.zhihu.com
|
||||
icon: fas fa-question-circle
|
||||
description: 问答社区
|
||||
- name: 掘金
|
||||
url: https://juejin.cn
|
||||
icon: fas fa-book
|
||||
@@ -62,57 +59,6 @@ categories:
|
||||
url: https://leetcode.cn
|
||||
icon: fas fa-code
|
||||
description: 算法刷题平台
|
||||
- name: Coursera
|
||||
url: https://www.coursera.org
|
||||
icon: fas fa-university
|
||||
description: 在线课程平台
|
||||
- name: edX
|
||||
url: https://www.edx.org
|
||||
icon: fas fa-graduation-cap
|
||||
description: 高质量在线教育
|
||||
- name: Udemy
|
||||
url: https://www.udemy.com
|
||||
icon: fas fa-chalkboard-teacher
|
||||
description: 技能学习平台
|
||||
- name: MDN Web Docs
|
||||
url: https://developer.mozilla.org
|
||||
icon: fas fa-file-code
|
||||
description: Web开发文档
|
||||
- name: 开发工具
|
||||
icon: fas fa-tools
|
||||
sites:
|
||||
- name: VS Code
|
||||
url: https://code.visualstudio.com
|
||||
icon: fas fa-code
|
||||
description: 强大的代码编辑器
|
||||
- name: Postman
|
||||
url: https://www.postman.com
|
||||
icon: fas fa-paper-plane
|
||||
description: API调试工具
|
||||
- name: Git
|
||||
url: https://git-scm.com
|
||||
icon: fab fa-git-alt
|
||||
description: 版本控制工具
|
||||
- name: Docker
|
||||
url: https://www.docker.com
|
||||
icon: fab fa-docker
|
||||
description: 容器化平台
|
||||
- name: JetBrains
|
||||
url: https://www.jetbrains.com
|
||||
icon: fas fa-laptop-code
|
||||
description: 专业开发IDE
|
||||
- name: npm
|
||||
url: https://www.npmjs.com
|
||||
icon: fab fa-npm
|
||||
description: Node.js包管理器
|
||||
- name: Webpack
|
||||
url: https://webpack.js.org
|
||||
icon: fas fa-box-open
|
||||
description: 前端打包工具
|
||||
- name: GitHub Copilot
|
||||
url: https://github.com/features/copilot
|
||||
icon: fas fa-robot
|
||||
description: AI编程助手
|
||||
- name: 设计资源
|
||||
icon: fas fa-palette
|
||||
sites:
|
||||
@@ -124,18 +70,10 @@ categories:
|
||||
url: https://dribbble.com
|
||||
icon: fab fa-dribbble
|
||||
description: 设计师社区
|
||||
- name: Behance
|
||||
url: https://www.behance.net
|
||||
icon: fab fa-behance
|
||||
description: 创意设计平台
|
||||
- name: IconFont
|
||||
url: https://www.iconfont.cn
|
||||
icon: fas fa-icons
|
||||
description: 图标资源库
|
||||
- name: Unsplash
|
||||
url: https://unsplash.com
|
||||
icon: fas fa-camera
|
||||
description: 免费高质量图片
|
||||
- name: Adobe XD
|
||||
url: https://www.adobe.com/products/xd.html
|
||||
icon: fab fa-adobe
|
||||
@@ -167,37 +105,13 @@ categories:
|
||||
url: https://carbon.now.sh
|
||||
icon: fas fa-code
|
||||
description: 代码图片生成器
|
||||
- name: RegExr
|
||||
url: https://regexr.com
|
||||
icon: fas fa-search
|
||||
description: 正则表达式测试
|
||||
- name: Excalidraw
|
||||
url: https://excalidraw.com
|
||||
icon: fas fa-pencil-alt
|
||||
description: 手绘风格图表工具
|
||||
- name: Notion
|
||||
url: https://www.notion.so
|
||||
icon: fas fa-sticky-note
|
||||
description: 多功能笔记工具
|
||||
- name: Grammarly
|
||||
url: https://www.grammarly.com
|
||||
icon: fas fa-spell-check
|
||||
description: 英文语法检查工具
|
||||
- name: 云服务平台
|
||||
icon: fas fa-cloud
|
||||
sites:
|
||||
- name: AWS
|
||||
url: https://aws.amazon.com
|
||||
icon: fab fa-aws
|
||||
description: 亚马逊云服务
|
||||
- name: Azure
|
||||
url: https://azure.microsoft.com
|
||||
icon: fab fa-microsoft
|
||||
description: 微软云平台
|
||||
- name: Google Cloud
|
||||
url: https://cloud.google.com
|
||||
icon: fab fa-google
|
||||
description: 谷歌云平台
|
||||
- name: Cloudflare
|
||||
url: https://www.cloudflare.com
|
||||
icon: fas fa-cloud
|
||||
@@ -210,11 +124,15 @@ categories:
|
||||
url: https://www.netlify.com
|
||||
icon: fas fa-globe
|
||||
description: 静态网站托管
|
||||
- name: DigitalOcean
|
||||
url: https://www.digitalocean.com
|
||||
icon: fab fa-digital-ocean
|
||||
description: 简单云服务器
|
||||
- name: Heroku
|
||||
url: https://www.heroku.com
|
||||
icon: fas fa-h-square
|
||||
description: 应用部署平台
|
||||
- name: AWS
|
||||
url: https://aws.amazon.com
|
||||
icon: fab fa-aws
|
||||
description: 亚马逊云服务
|
||||
- name: Azure
|
||||
url: https://azure.microsoft.com
|
||||
icon: fab fa-microsoft
|
||||
description: 微软云平台
|
||||
- name: Google Cloud
|
||||
url: https://cloud.google.com
|
||||
icon: fab fa-google
|
||||
description: 谷歌云平台
|
||||
@@ -1,36 +0,0 @@
|
||||
# 默认页面配置(请勿直接修改)。
|
||||
# 建议复制到 config/user/pages/friends.yml 并按需调整。
|
||||
title: 友情链接 # 页面标题
|
||||
subtitle: 优秀的博主和朋友们 # 页面副标题
|
||||
|
||||
# 指定使用的模板文件名,现有页面模板可见 templates/pages(不含 .hbs)
|
||||
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
|
||||
@@ -1,36 +1,33 @@
|
||||
# 默认页面配置(请勿直接修改)。
|
||||
# 建议复制到 config/user/pages/projects.yml 并按需调整。
|
||||
title: 我的项目 # 页面标题
|
||||
subtitle: 这里展示了我的一些个人项目和开源贡献 # 页面副标题
|
||||
title: 项目 # 页面标题
|
||||
subtitle: 项目展示 # 页面副标题
|
||||
|
||||
# 指定使用的模板文件名,现有页面模板可见 templates/pages(不含 .hbs)
|
||||
template: projects
|
||||
|
||||
# 页面分类与站点列表
|
||||
#
|
||||
# projects 模板采用“代码仓库风”卡片(repo 风格)。
|
||||
# 统计信息(language/stars/forks)为自动获取数据:
|
||||
# - 运行 `npm run sync-projects` 会联网抓取 GitHub 仓库信息,并写入 dev/ 缓存(仓库默认 gitignore)
|
||||
# - `npm run build` 默认不联网;缓存缺失时卡片仅展示标题与描述
|
||||
categories:
|
||||
- name: 个人项目
|
||||
icon: fas fa-code # 分类图标(Font Awesome)
|
||||
sites:
|
||||
- name: 个人导航站 # 站点名称
|
||||
icon: fas fa-compass # 手动图标(manual 模式显示;favicon 模式下作为回退)
|
||||
description: 一个简洁美观的个人导航页面 # 站点描述
|
||||
url: "#" # 链接(示例)
|
||||
- name: Todo List
|
||||
icon: fas fa-tasks
|
||||
description: 基于Vue3的待办事项管理器
|
||||
url: "#"
|
||||
- name: 个人博客
|
||||
icon: fas fa-blog
|
||||
description: 使用Hexo搭建的技术博客
|
||||
url: "#"
|
||||
- name: 开源贡献
|
||||
icon: fas fa-code-branch
|
||||
- name: MeNav
|
||||
icon: fab fa-github # 手动图标(manual 模式显示;favicon 模式下作为回退)
|
||||
description: 一键部署的个人导航站生成器,支持书签导入与自动构建,轻松整理展示您的网络收藏 # 站点描述
|
||||
url: https://github.com/rbetree/menav
|
||||
- name: MarksVault
|
||||
icon: fab fa-github
|
||||
description: 一个强大的浏览器扩展,用于智能管理、整理和安全备份您的书签数据
|
||||
url: "https://github.com/rbetree/MarksVault"
|
||||
- name: star
|
||||
icon: fas fa-star
|
||||
sites:
|
||||
- name: Project A
|
||||
- name: CLIProxyAPI
|
||||
icon: fab fa-github
|
||||
description: 开源项目贡献
|
||||
url: "#"
|
||||
- name: Project B
|
||||
icon: fab fa-github
|
||||
description: 开源项目贡献
|
||||
url: "#"
|
||||
description: Wrap Gemini CLI, Antigravity, ChatGPT Codex, Claude Code, Qwen Code, iFlow as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini 2.5 Pro, GPT 5, Claude, Qwen model through API
|
||||
url: "https://github.com/router-for-me/CLIProxyAPI"
|
||||
|
||||
Reference in New Issue
Block a user