KeyType をはじめます
このブログは Markdown ファイルをディレクトリに並べる だけで、その階層構造のまま公開されます。
たとえばこのファイルは content/posts/hello.md にあるので URL は /hello です。
content/posts/tech/react/hello-world.md に置けば /tech/react/hello-world になります。
書き方
pnpm new "tech/react/新しい記事" # ひな型を作る
pnpm dev # ローカルプレビュー
git add . && git commit -m "post: 新しい記事"
git push # Cloudflare Pages へ自動デプロイ
画像の貼り方
画像は 記事と同じディレクトリに置く のが推奨です。Astro が自動で最適化(WebP 化・サイズ調整)します。