Framework 01
测试框架:验证本地 Markdown 渲染 Test Framework: Validating Local Markdown

这是一个本地创建的测试 Markdown 文件,用来验证 Astro 是否能在不依赖 CMS backend 的情况下正确读取并渲染内容集合。 This is a locally created markdown file used to verify that Astro can read and render content collections correctly without relying on the CMS backend.

核心验证

这是一篇测试内容,用来确认本地内容集合、schema 和页面模板是打通的。

  • 如果不接 CMS 也能正常读取,说明 Astro 的 glob loader 和 content.config.ts 是有效的。
  • 如果本地读取正常,但 CMS 内容异常,就可以把问题范围缩小到 backend 配置。

当前目标不是验证 GitHub OAuth,而是先确认内容渲染链路本身没有问题。

Core Validation

This is test content used to confirm that local collections, schema validation, and page templates are wired together correctly.

  • If content renders without the CMS, Astro's glob loader and content.config.ts are working correctly.
  • If local rendering works but CMS-authored content does not, the remaining issue is likely in backend configuration.

The goal here is not to validate GitHub OAuth. It is to validate the content rendering pipeline first.