A static personal blog built with Astro, ready for Cloudflare Pages.
npm install
npm run dev- Edit site name, author, intro, email, and GitHub URL in
src/config.ts. - Replace the sample Markdown files in
src/content/posts/. - Edit the introduction in
src/pages/about.astro. - Set
PUBLIC_SITE_URLto your final domain during deployment.
Create a Markdown file in src/content/posts/:
---
title: My new post
description: A concise summary for search engines and article lists.
published: 2026-08-09
tags: [Notes]
draft: false
---
Start writing here.- Build command:
npm run build - Output directory:
dist - Environment variable:
PUBLIC_SITE_URL=https://yourdomain.com - Node.js version: 22