Modern bilingual personal site and blog for Zifeng Xiong.
- Astro (static output)
- Markdown content collections
- Built-in Shiki highlighting
- RSS feeds
npm install
npm run devnpm run build- Create a new Markdown file in one of these folders:
src/content/blog/en/src/content/blog/zh/
- Copy from template:
templates/blog-post-template.en.mdtemplates/blog-post-template.zh.md
- Fill frontmatter fields:
titledescriptiondatelangtags
- Write post body in Markdown.
Code blocks (triple backticks) are automatically highlighted and get a copy button on post pages.
- Default redirect:
/->/en/ - English pages:
/en/... - Chinese pages:
/zh/...
- English:
/en/rss.xml - Chinese:
/zh/rss.xml
This project is static and can be deployed directly to GitHub Pages.
Custom domain is configured through public/CNAME (snowfly09.com).