Hello, EdgeOne Page
Welcome to EdgeOne Page.
This project uses a true bilingual content structure. Simplified Chinese and English articles are stored separately and built as two independent static sites. When a visitor switches languages, navigation, interface text, article content, search indexes, and feeds all open the matching language version instead of translating the current page in the browser.
How bilingual articles are stored
Both versions use the same file name and translation_key:
1 | source/zh-CN/_posts/hello-world.md |
The Chinese file declares:
1 | lang: zh-CN |
The English file declares:
1 | lang: en |
Both files must exist and use the same publication state. Before the site is generated, the build validates titles, descriptions, dates, categories, tags, body length, and translation keys so incomplete or placeholder content cannot enter production.
Create a new article
Run:
1 | npm run new:post -- my-new-article |
The project creates both language templates. New templates default to:
1 | published: false |
After completing both versions, change them together to published: true, then run:
1 | npm run check |
This command validates bilingual content, builds the complete production site, and audits the EdgeOne output. Drafts never enter search, RSS, sitemaps, or recommendations.
- Title: Hello, EdgeOne Page
- Author: FukunHennan
- Created at : 2026-07-17 13:30:00
- Updated at : 2026-07-18 01:30:00
- Link: https://edgeone.chenfukun.space/en/posts/hello-world/
- License : This work is licensed under CC BY-NC-SA 4.0.