Welcome to Yuwx’s Blog.
This first sample post is also a compact writing guide. Posts are Markdown files; once they are committed, Cloudflare Pages builds and publishes the site automatically.
Write a new post
Create an English slug under src/content/posts/en/ and add an index.md:
src/content/posts/en/my-first-post/
├── index.md
└── cover.jpg
Keep images beside the post and reference them with relative paths:

Astro will include and optimize those images during the build, so an external image host is unnecessary.
Publish
- Set the title, description, publication time, tags, and language.
- Preview the draft locally.
- Change
drafttofalse. - Commit and push to
main.
After a successful build, the post appears on the home page, post list, tags, search, RSS feed, and sitemap.