diff --git a/content/site/about.yaml b/content/site/about.yaml index 83c5740..667c7a6 100644 --- a/content/site/about.yaml +++ b/content/site/about.yaml @@ -99,7 +99,7 @@ blocks: - label: zh: 邮件 en: Email - href: 'mailto:admin@wait4x.online' + href: 'mailto:X@alumni.nudt.edu.cn' note: zh: 有话直说 en: Say hello directly diff --git a/content/site/home.yaml b/content/site/home.yaml index 0c390a4..2cfd7ce 100644 --- a/content/site/home.yaml +++ b/content/site/home.yaml @@ -1,24 +1,14 @@ -# 主页身份语(后台「页面文案 → 主页设置」可改) -# 全部字段留空 = 现有形态(字段级回落默认值,零配置零变化) tagline: zh: 写作者 · 读者 · 快门按压者,拥抱开源。 en: Writer · Reader · Shutter-presser — embracing open source. - -# 副标题(可选,markdown 短文本):渲染在身份语下方,留空不渲染 -# subtitle: -# zh: '正在把**阅读、代码与影像**收进同一个工作台' -# en: 'Collecting **reading, code and images** into one workbench' - -# 头像(可选):上传后自动写入 ./assets/avatar-xxx.jpg(走 Astro 图片管线) -# 留空 = 回退内置渐变占位 -# avatar: ./assets/avatar.jpg - -# 站点图标(favicon,全局生效):public 下的路径;留空回退 /favicon.svg -# 上传走 public/icons/(后台媒体库),可填 /icons/my.ico、/icons/my.svg +latestPhotos: 4 +perTrackLimit: 6 +sections: + tracks: true + photos: true + heatmap: true + projects: true favicon: /favicon.svg - -# 社交链接(顺序即展示顺序,后台可增删拖动排序) -# icon 取值:github / rss / email / bilibili / x / 留空(留空按 label 显示纯文字) socials: - label: GitHub url: https://github.com/wait4xx @@ -27,18 +17,5 @@ socials: url: /rss.xml icon: rss - label: 邮件 - url: mailto:admin@wait4x.online + url: mailto:X@alumni.nudt.edu.cn icon: email - -# 最新影像张数(1-6,默认 4;填 0 = 隐藏该区块) -latestPhotos: 4 - -# 首页每轨文章条数(4-8,默认 6) -perTrackLimit: 6 - -# 区块开关(默认全开;关掉的区块不渲染) -sections: - tracks: true - photos: true - heatmap: true - projects: true diff --git a/content/site/opensource.yaml b/content/site/opensource.yaml index fe7a110..caf2afe 100644 --- a/content/site/opensource.yaml +++ b/content/site/opensource.yaml @@ -4,23 +4,16 @@ blurb: repo_url: https://git.wait4x.online/wait4x/blog repo_label: git.wait4x.online/wait4x/blog blurb_after: - zh: ' —— Astro SSG、双写作流、构建发布全链皆在仓中。以下是我在自托管 gitea 与 GitHub 上的全部公开仓库,以及最近一年的贡献活动。' - en: ' — the Astro SSG, dual-writing workflow, and the full build & deploy pipeline live in the repo. Below are all my public repositories on self-hosted gitea and GitHub, plus contributions from the past year.' - -# ---- 项目墙可见性与排序(后台「开源页」可改;留空/缺省 = 现状) ---- -# mode: all=全部(默认) | only=仅 include 列出 | exclude=排除 exclude 列出 + zh: —— Astro SSG、双写作流、构建发布全链皆在仓中。以下是我在自托管 gitea 与 GitHub 上的全部公开仓库,以及最近一年的贡献活动。 + en: — the Astro SSG, dual-writing workflow, and the full build & deploy pipeline live in the repo. Below are all my public repositories on self-hosted gitea and GitHub, plus contributions from the past year. mode: all -# 白名单(mode=only 时生效) -include: [] -# 黑名单(mode=exclude 时生效) -exclude: [] -# 排序:pinned-first=置顶优先(默认) | stars=星数降序 | updated=最近更新 sort: pinned-first -# 来源过滤:both=双源合并(默认) | github | gitea -perSource: both -# 开篇来源(compat,**不推荐开启**):off=用本文件 blurb + 原生档案卡(默认) -# github-readme = 构建期取 wait4xx/wait4xx 的 README 原样渲染在档案卡下方 -# ⚠ 开启会引入 7 类第三方外链图(readme-typing-svg / shields.io 徽章 / github-readme-stats / -# streak-stats / activity-graph / 贡献蛇 / komarev 访客徽章),慢网或被墙时整片空白; -# 且 README 用
居中,本站渲染不认该属性 → 居中失效。内容已由档案卡承接。 +perSource: github intro_from: "off" + +# ---- 开篇来源说明(2026-11-02 Phase 5h)---- +# 开篇已改原生 GitHub 档案卡(头像 / 统计四格 / 语言占比灰阶条),不再渲染 README 原文。 +# intro_from: "off" = 用档案卡 + 上面的 blurb(当前) +# intro_from: github-readme = 构建期取 wait4xx/wait4xx 的 README 原样渲染(**不推荐**: +# 会引入 7 类第三方外链图,慢网或被墙时整片空白;README 用
居中, +# 本站不认该属性 → 居中失效。这正是当初"内容没居中、图片不显示"的根因。)