chore(spec): 合入 CMS 侧内容编辑并解决 opensource.yaml 冲突
合远端 main(后台 CMS 期间产出 3 个「Update 页面文案」提交)时的两处冲突:
- blurb_after:取 CMS 版本(用户的编辑为准);折号间隙已由模板
`{a}{' '}{blurbAfter.trim()}` 保证,不再依赖数据前导空格
- opensource.yaml 尾部:CMS 侧把 perSource 改成 github、intro_from 切到
github-readme。**perSource 尊重用户选择**;intro_from 改回 "off" 并补注释——
本阶段的目的正是用原生档案卡替换 README 原样渲染(README 带 7 类第三方外链图,
且 `<div align="center">` 在本站失效,正是用户报告的「没居中、图片不显示」根因)。
想回退在后台把该字段切回 github-readme 即可。
顺带对齐:关于页「找到我」的邮箱原来是 admin@wait4x.online(我拟的),
改为与站点 socials 一致的 X@alumni.nudt.edu.cn,避免出现一个不存在的地址。
验证: 构建 51 页 exit 0;content-lint 51 页 0/0/0;config-check 全过;
E2E 46/46 PASS
Spec: 2026-11-02_blog-5h-content-social
Co-authored-by: GLM-5.3
This commit is contained in:
commit
36643f5cf0
3 files changed
+19
-49
No files matched your search
@@ -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 用 <div align="center"> 居中,本站渲染不认该属性 → 居中失效。内容已由档案卡承接。
|
||||
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 用 <div align="center"> 居中,
|
||||
# 本站不认该属性 → 居中失效。这正是当初"内容没居中、图片不显示"的根因。)
|
||||
Reference in new issue
Block a user