Astro 遷移 Kickoff:從 Jekyll 到可擴充內容架構
閱讀偏好
這是新的 Astro 架構第一篇文章,目標很明確:
- 先確保內容遷移穩定。
- 不在第一天把互動功能全部塞滿。
- 保留 GitHub Pages + GitHub Actions 的部署習慣。
技術決策(MVP)
- Framework: Astro
- Type system: TypeScript
- Styling: Tailwind CSS
- Content source: Markdown(先不用 MDX)
- Deployment: GitHub Pages (Actions)
代碼區塊樣式測試
export function hello(name: string): string {
return `Hello, ${name}`;
}