Hello, EdgeOne Page

FukunHennan Maintainer

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
2
source/zh-CN/_posts/hello-world.md
source/en/_posts/hello-world.md

The Chinese file declares:

1
2
3
lang: zh-CN
translation_key: hello-world
published: true

The English file declares:

1
2
3
lang: en
translation_key: hello-world
published: true

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.
Share this article