a brutalist, static blog built with astro. edited via sveltia cms. deployed to github pages.
pnpm install
pnpm dev # dev server
pnpm build # production build
pnpm check # typecheck + lint + format check
pnpm format # auto-formatthe cms lives at /admin. sign in with a github personal access token.
posts are markdown files in src/content/posts/. images go in public/images/.
pushes to main trigger a github actions workflow that builds and deploys to github pages.
astro.config.mjs— site config,basepathpublic/admin/config.yml— cms fields and backendeslint.config.js/.prettierrc— linting and formatting
the project uses pnpm by default. to use npm instead:
- remove
"packageManager"and"pnpm"fields frompackage.json - delete
pnpm-lock.yamland runnpm install - in
.github/workflows/deploy.yml, remove thepnpm/action-setupstep, changecache: pnpmtocache: npm, and replacepnpmcommands withnpm