feat(content): 三集合 schema 与 EXIF 构建期补全(T4 车道收编)
- src/content.config.ts(Astro 7 唯一合法路径,旧 config.ts 会抛 LegacyContentConfigError——车道实测发现,经批复的边界修正) - posts(category→track 派生单源)/moments(text-image 互斥 refine)/ photos(json sidecar + jpg,exif 构建期 exifr 补全、frontmatter 可覆盖) - 样例:书评+技术文各 1、瞬间 3、照片 3(横竖方三比例,EXIF 三路径覆盖) - 附带 scripts/check-responsive.sh(T9 预置,随 T6 产物生效) - 车道 30min 超时于过度验证循环,产物完好,主会话收编续跑 验证: pnpm astro build exit 0(1.63s,含三集合加载) Spec: 2026-10-24_add-blog-skeleton Co-authored-by: GLM-5.3
This commit is contained in:
1 parent
725bfde21f
commit
80ff67e8fa
18 files changed
+370
-2
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 5.5 KiB |
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"title": "晨光街口",
|
||||
"image": "./chen-guang-jie-kou.jpg",
|
||||
"group": "street",
|
||||
"alt": "晨光斜切进街口,行人拖着长影子过马路",
|
||||
"exif": {}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 5.9 KiB |
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"title": "雪线",
|
||||
"image": "./xue-xian.jpg",
|
||||
"group": "landscape",
|
||||
"alt": "山脊上的积雪线在蓝天下格外清晰"
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"title": "雨后屋檐",
|
||||
"image": "./yu-hou-wu-yan.jpg",
|
||||
"group": "street",
|
||||
"alt": "雨刚停,屋檐还在滴水",
|
||||
"exif": {
|
||||
"make": "FUJIFILM",
|
||||
"model": "X-T5",
|
||||
"lens": "XF23mmF2 R WR",
|
||||
"fNumber": 2.8,
|
||||
"exposureTime": 0.004,
|
||||
"iso": 1250,
|
||||
"focalLength": 23,
|
||||
"dateTimeOriginal": "2026-04-14T08:47:21.000Z"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user