Files
blog/content/posts-en/media-sample.md
T
wait4xandGLM-5.3 ba83217048 feat(i18n): GLM 直译 10 篇书评——英文站全量覆盖,全部 locked 防回退
TMT 月度免费额度耗尽,改由 GLM 模型直译(质量高于机翻):面纱/佩德罗·巴拉莫/
海风中失落的血色馈赠/等待戈多(源更新重译,修正旧版人名漂移)/你谈/述罪
+ 四篇排版测试稿。翻译纪律:frontmatter 除 title 外字节级保留 + locked: true;
markdown 与排版包装器原样保留只译内文;文学书名用原著通行英文题名
(The Painted Veil / Pedro Páramo / Waiting for Godot / The Lost Salt Gift of Blood)。
同步刷新 translation-state 的源 sha256(locked + 幂等双保险)。
仪表盘英文覆盖 10→15;E2E 筛选断言随新照片动态对齐(65/65)。

验证: pnpm astro build exit 0(54+ 页,EN 目录 14 篇全生成);content-lint 0/0/0;E2E 65/65;gen-admin-stats 英文=15

Spec: 2026-11-05_blog-5n-admin-deep-optimization

Co-authored-by: GLM-5.3
2026-11-05 23:44:18 +08:00

1.5 KiB
Raw Blame History

title, pubDate, category, tags, draft, locked
title pubDate category tags draft locked
Media Support Sample 2026-10-25 tech
test
hidden
false true

This post is a three-media pipeline specimen: it verifies how a markdown image and HTML5 video/audio are handled along the build chain, for use in visual-regression and multi-device testing (marked hidden — do not list).

Image (markdown syntax, optimized by sharp at build time)

Sample photo

The new caption syntax: the fig-cap class — a copy of a specimen shot from the photos directory (1600×2400 portrait).

Video (raw HTML, H.264 320×240, generated with ffmpeg testsrc2)

Native <video> control, no JS; source file 45KB, faststart enabled.

Audio (raw HTML, 440 Hz sine-wave mp3)

Native <audio> control; source file 18KB.