Personal blog built with Astro and the UINUX Blog Theme, deployed on Cloudflare Pages.
npm install
npx lefthook installnpm run devThe site will be available at http://localhost:4321.
| Command | Description |
|---|---|
npm run dev |
Start dev server |
npm run build |
Build static site to dist/ |
npm run preview |
Preview the build locally |
npm run lint |
Run Biome linter |
npm run lint:fix |
Run Biome linter with auto-fix |
npm run format |
Format files with Biome |
Create a new .md or .mdx file in src/content/posts/:
---
title: "Post Title"
description: "A short summary for listings and meta tags"
date: 2026-01-01
---
Post content goes here.The filename becomes the URL slug (e.g., my-post.md -> /posts/my-post).
Drafts are managed via git branches -- write on a branch, merge to main to publish.
Pushes to main trigger a GitHub Actions workflow (.github/workflows/ci.yml) that runs lint and build. Deployment to Cloudflare Pages via Wrangler is configured but currently disabled in the workflow.