Content folders define categories, while frontmatter defines public routes and metadata.
Folders become categories
The file content/en/blog/guides/content-guide.md belongs to the guides category. Category, tag, and archive pages are generated at build time.
Keep public URLs stable
Give each post a permalink. Moving the Markdown source later will not change its public URL.
Connect translations
Set translationOf on the English post to the Chinese route. The theme then produces a language switcher, hreflang, and matching sitemap entries.
Writing guidance
Use the title to name the topic, the description to state the reader benefit, and the body to deliver only useful details.
Copyright
Copyright Ownership:
This article link:https://astro.ermao.net/en/blog/content-guide/
License under:Attribution 4.0 International (CC-BY-4.0)