chore: 使用 Prettier 统一代码风格
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# 默认页面配置(请勿直接修改)。
|
||||
# 建议复制到 config/user/pages/articles.yml 并按需调整。
|
||||
title: 技术文章 # 页面标题
|
||||
subtitle: RSS 聚合文章列表 # 页面副标题
|
||||
title: 技术文章 # 页面标题
|
||||
subtitle: RSS 聚合文章列表 # 页面副标题
|
||||
|
||||
# 指定使用的模板文件名,现有页面模板可见 templates/pages(不含 .hbs)
|
||||
template: articles
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# 默认页面配置(请勿直接修改)。
|
||||
# 建议复制到 config/user/pages/common.yml 并按需调整。
|
||||
title: 常用网站 # 页面标题
|
||||
subtitle: Common website # 页面副标题
|
||||
title: 常用网站 # 页面标题
|
||||
subtitle: Common website # 页面副标题
|
||||
|
||||
# 指定使用的模板文件名,现有页面模板可见 templates/pages(不含 .hbs)
|
||||
# 说明:推荐使用通用模板 page;首页由“导航第一项”决定
|
||||
@@ -12,9 +12,9 @@ categories:
|
||||
- name: 置顶
|
||||
icon: fas fa-star # 分类图标
|
||||
sites:
|
||||
- name: Linux.do # 站点名称
|
||||
url: https://linux.do/ # http/https URL(favicon 模式将尝试加载站点图标)
|
||||
icon: fab fa-linux # 手动图标:manual 模式使用;favicon 模式下作为回退
|
||||
- name: Linux.do # 站点名称
|
||||
url: https://linux.do/ # http/https URL(favicon 模式将尝试加载站点图标)
|
||||
icon: fab fa-linux # 手动图标:manual 模式使用;favicon 模式下作为回退
|
||||
description: 新的理想型社区 # 站点描述
|
||||
- name: Menav
|
||||
url: https://rbetree.github.io/menav
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# 默认页面配置(请勿直接修改)。
|
||||
# 建议复制到 config/user/pages/projects.yml 并按需调整。
|
||||
title: 项目 # 页面标题
|
||||
subtitle: 项目展示 # 页面副标题
|
||||
title: 项目 # 页面标题
|
||||
subtitle: 项目展示 # 页面副标题
|
||||
|
||||
# 指定使用的模板文件名,现有页面模板可见 templates/pages(不含 .hbs)
|
||||
template: projects
|
||||
@@ -14,20 +14,20 @@ template: projects
|
||||
# - `npm run build` 默认不联网;缓存缺失时卡片仅展示标题与描述
|
||||
categories:
|
||||
- name: 个人项目
|
||||
icon: fas fa-code # 分类图标(Font Awesome)
|
||||
icon: fas fa-code # 分类图标(Font Awesome)
|
||||
sites:
|
||||
- name: MeNav
|
||||
icon: fab fa-github # 手动图标(manual 模式显示;favicon 模式下作为回退)
|
||||
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"
|
||||
url: 'https://github.com/rbetree/MarksVault'
|
||||
- name: star
|
||||
icon: fas fa-star
|
||||
sites:
|
||||
- name: CLIProxyAPI
|
||||
icon: fab fa-github
|
||||
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"
|
||||
url: 'https://github.com/router-for-me/CLIProxyAPI'
|
||||
|
||||
@@ -41,7 +41,7 @@ security:
|
||||
# - system: 只使用本地/系统字体,不额外发起请求
|
||||
fonts:
|
||||
source: css
|
||||
cssUrl: "https://fontsapi.zeoseven.com/292/main/result.css"
|
||||
cssUrl: 'https://fontsapi.zeoseven.com/292/main/result.css'
|
||||
preload: true # 可选:使用 preload+onload 的方式非阻塞加载字体 CSS(更利于首屏性能)
|
||||
family: LXGW WenKai
|
||||
weight: normal
|
||||
@@ -67,23 +67,23 @@ rss:
|
||||
enabled: true
|
||||
cacheDir: dev
|
||||
fetch:
|
||||
timeoutMs: 10000 # 单请求超时(毫秒)
|
||||
totalTimeoutMs: 60000 # 全流程总超时(毫秒)
|
||||
concurrency: 5 # 并发抓取站点数
|
||||
maxRetries: 1 # 单站点重试次数(best-effort)
|
||||
maxRedirects: 3 # 最大重定向次数
|
||||
timeoutMs: 10000 # 单请求超时(毫秒)
|
||||
totalTimeoutMs: 60000 # 全流程总超时(毫秒)
|
||||
concurrency: 5 # 并发抓取站点数
|
||||
maxRetries: 1 # 单站点重试次数(best-effort)
|
||||
maxRedirects: 3 # 最大重定向次数
|
||||
articles:
|
||||
perSite: 8 # 单站点最多抓取条数
|
||||
total: 50 # 全站聚合上限
|
||||
summaryMaxLength: 200 # 摘要最大长度(字符)
|
||||
perSite: 8 # 单站点最多抓取条数
|
||||
total: 50 # 全站聚合上限
|
||||
summaryMaxLength: 200 # 摘要最大长度(字符)
|
||||
|
||||
# GitHub:用于 projects 页面右侧“贡献热力图”(可选)
|
||||
# - username:你的 GitHub 用户名(例如 torvalds)
|
||||
# - heatmapColor:热力图主题色(不带 #,例如 339af0)
|
||||
github:
|
||||
username: "rbetree" # 你的 GitHub 用户名(例如 torvalds;为空则 projects 页不展示热力图)
|
||||
username: 'rbetree' # 你的 GitHub 用户名(例如 torvalds;为空则 projects 页不展示热力图)
|
||||
heatmapColor: 339af0
|
||||
cacheDir: dev # projects 仓库元信息缓存目录(默认 dev,仓库默认 gitignore)
|
||||
cacheDir: dev # projects 仓库元信息缓存目录(默认 dev,仓库默认 gitignore)
|
||||
|
||||
# 社交媒体链接:显示在侧边栏底部;可按需增删
|
||||
social:
|
||||
@@ -102,9 +102,9 @@ social:
|
||||
|
||||
# 导航配置(顺序第一项即首页/默认打开页)
|
||||
navigation:
|
||||
- name: 常用 # 菜单名称
|
||||
icon: fas fa-star # Font Awesome 图标类
|
||||
id: common # 页面标识符(唯一,需与 pages/<id>.yml 对应)
|
||||
- name: 常用 # 菜单名称
|
||||
icon: fas fa-star # Font Awesome 图标类
|
||||
id: common # 页面标识符(唯一,需与 pages/<id>.yml 对应)
|
||||
- name: 项目
|
||||
icon: fas fa-project-diagram
|
||||
id: projects
|
||||
|
||||
Reference in New Issue
Block a user