diff --git a/content/photos/1766156983093.json b/content/photos/1766156983093.json index cf8ef1a..9932717 100644 --- a/content/photos/1766156983093.json +++ b/content/photos/1766156983093.json @@ -1,6 +1,7 @@ { - "title": "防波堤暮色", - "image": "./1766156983093.jpg", - "group": "landscape", - "alt": "暮色海岸与远处防波堤(T3 冒烟补写)。" + "title": "防波堤暮色", + "image": "./1766156983093.jpg", + "group": "landscape", + "alt": "暮色海岸与远处防波堤(T3 冒烟补写)。", + "caption": "落日把海与城一齐烫成金箔,海鸟的剪影恰好掠过日轮" } diff --git a/content/photos/1766156992123.json b/content/photos/1766156992123.json index f49cb36..befa076 100644 --- a/content/photos/1766156992123.json +++ b/content/photos/1766156992123.json @@ -3,5 +3,6 @@ "image": "./1766156992123.jpg", "group": "landscape", "alt": "", - "exif": {} -} \ No newline at end of file + "exif": {}, + "caption": "书架暗处,那本宫崎骏分镜集被灯光单独打亮" +} diff --git a/content/photos/1766156992265.json b/content/photos/1766156992265.json index 236afd1..78944e3 100644 --- a/content/photos/1766156992265.json +++ b/content/photos/1766156992265.json @@ -3,5 +3,6 @@ "image": "./1766156992265.jpg", "group": "landscape", "alt": "", - "exif": {} -} \ No newline at end of file + "exif": {}, + "caption": "一面白墙只问一个问题,笔锋落下处是想活出的人生" +} diff --git a/content/photos/1766156992559.json b/content/photos/1766156992559.json index 5d22bf1..9fdcda8 100644 --- a/content/photos/1766156992559.json +++ b/content/photos/1766156992559.json @@ -3,5 +3,6 @@ "image": "./1766156992559.jpg", "group": "landscape", "alt": "", - "exif": {} -} \ No newline at end of file + "exif": {}, + "caption": "黑暗中独一句发光的话,像有人在夜里旋起一阵热风" +} diff --git a/content/photos/1766156992840.json b/content/photos/1766156992840.json index 195f938..701b2f9 100644 --- a/content/photos/1766156992840.json +++ b/content/photos/1766156992840.json @@ -3,5 +3,6 @@ "image": "./1766156992840.jpg", "group": "landscape", "alt": "", - "exif": {} -} \ No newline at end of file + "exif": {}, + "caption": "一抹红墙,几笔白线,龙猫的轮廓就是吉卜力的门牌" +} diff --git a/content/photos/1766156997939.json b/content/photos/1766156997939.json index 81a69e3..38e9cbe 100644 --- a/content/photos/1766156997939.json +++ b/content/photos/1766156997939.json @@ -3,5 +3,6 @@ "image": "./1766156997939.jpg", "group": "landscape", "alt": "", - "exif": {} -} \ No newline at end of file + "exif": {}, + "caption": "夜游船驮着绿光驶过,东方明珠在它身后蓝得像天外来物" +} diff --git a/content/photos/1766156998072.json b/content/photos/1766156998072.json index 861afff..ebfef48 100644 --- a/content/photos/1766156998072.json +++ b/content/photos/1766156998072.json @@ -3,5 +3,6 @@ "image": "./1766156998072.jpg", "group": "landscape", "alt": "", - "exif": {} -} \ No newline at end of file + "exif": {}, + "caption": "对岸灯火压得很低,渡轮拖着一线亮色划开墨色的江面" +} diff --git a/content/photos/1766156998205.json b/content/photos/1766156998205.json index 2f45a8a..8ec72db 100644 --- a/content/photos/1766156998205.json +++ b/content/photos/1766156998205.json @@ -3,5 +3,6 @@ "image": "./1766156998205.jpg", "group": "landscape", "alt": "", - "exif": {} -} \ No newline at end of file + "exif": {}, + "caption": "海关大楼的钟面亮成金色,人群在灯下攒动成剪影" +} diff --git a/content/photos/1766156998344.json b/content/photos/1766156998344.json index f138cd2..18e61a8 100644 --- a/content/photos/1766156998344.json +++ b/content/photos/1766156998344.json @@ -3,5 +3,6 @@ "image": "./1766156998344.jpg", "group": "landscape", "alt": "", - "exif": {} -} \ No newline at end of file + "exif": {}, + "caption": "旗在风里翻卷,塔身亮得像一支随时点火的火箭" +} diff --git a/content/photos/1766156998590.json b/content/photos/1766156998590.json index 34ad6d8..c1cefb1 100644 --- a/content/photos/1766156998590.json +++ b/content/photos/1766156998590.json @@ -3,5 +3,6 @@ "image": "./1766156998590.jpg", "group": "landscape", "alt": "", - "exif": {} -} \ No newline at end of file + "exif": {}, + "caption": "大楼只占一个角落,剩下的天空都交给云慢慢写" +} diff --git a/content/photos/1766157003595.json b/content/photos/1766157003595.json index cbfc33a..714c4a8 100644 --- a/content/photos/1766157003595.json +++ b/content/photos/1766157003595.json @@ -3,5 +3,6 @@ "image": "./1766157003595.jpg", "group": "landscape", "alt": "", - "exif": {} -} \ No newline at end of file + "exif": {}, + "caption": "草坡绿得发暗,牦牛散落其间,低头啃食高原的安静" +} diff --git a/content/photos/1766157003732.json b/content/photos/1766157003732.json index 995482e..bc07fd1 100644 --- a/content/photos/1766157003732.json +++ b/content/photos/1766157003732.json @@ -3,5 +3,6 @@ "image": "./1766157003732.jpg", "group": "landscape", "alt": "", - "exif": {} -} \ No newline at end of file + "exif": {}, + "caption": "灰白天色下,雪与黑岩互相渗透,山脊线细得像一笔勾勒" +} diff --git a/content/photos/1766157003865.json b/content/photos/1766157003865.json index 53b28fb..387b375 100644 --- a/content/photos/1766157003865.json +++ b/content/photos/1766157003865.json @@ -3,5 +3,6 @@ "image": "./1766157003865.jpg", "group": "landscape", "alt": "", - "exif": {} -} \ No newline at end of file + "exif": {}, + "caption": "雾把山谷对折,只留下碎石和雪在白茫茫里彼此确认" +} diff --git a/content/photos/1766157003992.json b/content/photos/1766157003992.json index 317a535..ade6428 100644 --- a/content/photos/1766157003992.json +++ b/content/photos/1766157003992.json @@ -3,5 +3,6 @@ "image": "./1766157003992.jpg", "group": "landscape", "alt": "", - "exif": {} -} \ No newline at end of file + "exif": {}, + "caption": "一队人影在乱石坡上缓缓上移,雪山在他们头顶沉默俯视" +} diff --git a/content/photos/1766157004116.json b/content/photos/1766157004116.json index 2dd2598..29eb916 100644 --- a/content/photos/1766157004116.json +++ b/content/photos/1766157004116.json @@ -3,5 +3,6 @@ "image": "./1766157004116.jpg", "group": "landscape", "alt": "", - "exif": {} -} \ No newline at end of file + "exif": {}, + "caption": "雪原中央蹲着两团颜色,出发前把装备一件件理顺" +} diff --git a/content/photos/1766157012003.json b/content/photos/1766157012003.json index 477739c..72b7b2a 100644 --- a/content/photos/1766157012003.json +++ b/content/photos/1766157012003.json @@ -3,5 +3,6 @@ "image": "./1766157012003.jpg", "group": "landscape", "alt": "", - "exif": {} -} \ No newline at end of file + "exif": {}, + "caption": "太阳缩成一粒橘色的句点,悬在灰橙色的茫茫天幕上" +} diff --git a/content/photos/mmexport1771816358254.json b/content/photos/mmexport1771816358254.json index 8fb3755..91ef282 100644 --- a/content/photos/mmexport1771816358254.json +++ b/content/photos/mmexport1771816358254.json @@ -3,5 +3,6 @@ "image": "./mmexport1771816358254.jpg", "group": "landscape", "alt": "", - "exif": {} -} \ No newline at end of file + "exif": {}, + "caption": "成群海鸥同时起飞,蓝海与红屋顶都被翅膀搅动" +} diff --git a/content/photos/mmexport1771816377628.json b/content/photos/mmexport1771816377628.json index 676d204..0f62b04 100644 --- a/content/photos/mmexport1771816377628.json +++ b/content/photos/mmexport1771816377628.json @@ -3,5 +3,6 @@ "image": "./mmexport1771816377628.jpg", "group": "landscape", "alt": "", - "exif": {} -} \ No newline at end of file + "exif": {}, + "caption": "垂钓的人立在礁石上,几根鱼竿替他守着整片海" +} diff --git a/content/photos/mmexport1771816382115.json b/content/photos/mmexport1771816382115.json index c0c42d1..685a12c 100644 --- a/content/photos/mmexport1771816382115.json +++ b/content/photos/mmexport1771816382115.json @@ -3,5 +3,6 @@ "image": "./mmexport1771816382115.jpg", "group": "landscape", "alt": "", - "exif": {} -} \ No newline at end of file + "exif": {}, + "caption": "长堤探进海里,堤上的人站成一小排,各自望着各自的远方" +} diff --git a/content/photos/mmexport1776564084994.json b/content/photos/mmexport1776564084994.json index 8d82ce2..9736297 100644 --- a/content/photos/mmexport1776564084994.json +++ b/content/photos/mmexport1776564084994.json @@ -3,5 +3,6 @@ "image": "./mmexport1776564084994.jpg", "group": "landscape", "alt": "", - "exif": {} -} \ No newline at end of file + "exif": {}, + "caption": "海鸥飞过之处,玻璃高塔与红瓦老城在同一帧里相遇" +} diff --git a/content/photos/mmexport1776564092433.json b/content/photos/mmexport1776564092433.json index d9544bc..c3bdcc7 100644 --- a/content/photos/mmexport1776564092433.json +++ b/content/photos/mmexport1776564092433.json @@ -3,5 +3,6 @@ "image": "./mmexport1776564092433.jpg", "group": "landscape", "alt": "", - "exif": {} -} \ No newline at end of file + "exif": {}, + "caption": "画面只留一圈亮处:老楼、松树、栏杆边与海鸥相伴的人群" +} diff --git a/public/admin/config.yml b/public/admin/config.yml index 2ae6b37..650b557 100644 --- a/public/admin/config.yml +++ b/public/admin/config.yml @@ -48,6 +48,7 @@ collections: - { label: 图片, name: image, widget: image } - { label: 分组, name: group, widget: select, options: [street, landscape] } - { label: 替代文本, name: alt, widget: string, required: false } + - { label: 人为描述, name: caption, widget: text, required: false, hint: 展示在灯箱里的人为描述(一句话策展文案) } - label: EXIF 覆盖(一般留空,构建期自动从图提取) name: exif widget: object diff --git a/src/content.config.ts b/src/content.config.ts index d2ebabc..cc32a68 100644 --- a/src/content.config.ts +++ b/src/content.config.ts @@ -48,6 +48,8 @@ const photoExifSchema = z.object({ const photosFields = { title: z.string(), group: z.enum(['street', 'landscape']), + // 人为描述:展示在灯箱 caption 层的策展文案(区别于 alt 的无障碍用途) + caption: z.string().optional(), alt: z.string().optional(), exif: photoExifSchema.optional(), };