时间线数据接入CMS:迁入 content/timeline.md
- 新增 content/timeline.md(frontmatter 配置 cn/en 时间线数据,结构与 frontPage.md 等一致,由"自动文章合并"流程统一维护)
- pages/index.js 删除静态 timeline-data.js 引用,componentDidMount 注入 window.TIMELINE_DATA
- addThreeD3.js 数据访问改为对象结构({year, events:[{date,text}]})
- build-timeline-font.js 数据源改为 timeline.md(js-yaml 解析);pyftsubset 缺失或字体包下载失败时沿用仓库已有 woff2 继续构建,不阻塞发布
Co-Authored-By:
Claude Code <noreply@anthropic.com>
Showing
content/timeline.md
0 → 100644
No preview for this file type
Please register or sign in to comment