feat(i18n): UI 字典串接与三页薄化——/en/ 全站落成
- op-gitea 车道:ui.ts 扩 26 键(占位 {n}/{title}/{exif} 约定),五组件
locale prop 串接,zh 零回归(48 键/18 页实测)
- orchestrator 收尾:gallery/moments/about 三页 body 提取为
components/pages/*Page(zh/en 薄页双路由),/en/ 全家福 21 页
- 提取工程三坑入库:HTML 注释不可进 frontmatter 模块区;搬移脚本会吃
开栏 ---;单级页面搬二级目录后 import 全线差一层
验证: astro build 21 页 exit 0;/en/ 七类路由产物断言过;en 页
ICP 备案保留;zh 侧文案抽查不变
Spec: 2026-10-25_add-blog-i18n
Co-authored-by: GLM-5.3
This commit is contained in:
1 parent
c74815b516
commit
4aa79fca06
13 files changed
+757
-653
No files matched your search
@@ -0,0 +1,4 @@
|
||||
---
|
||||
import AboutPage from '../../components/pages/AboutPage.astro';
|
||||
---
|
||||
<AboutPage locale="en" />
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
import GalleryPage from '../../components/pages/GalleryPage.astro';
|
||||
---
|
||||
<GalleryPage locale="en" />
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
import MomentsPage from '../../components/pages/MomentsPage.astro';
|
||||
---
|
||||
<MomentsPage locale="en" />
|
||||
Reference in new issue
Block a user