mirror of
https://github.com/treetrum/mutable-constant
synced 2026-06-06 08:51:01 +10:00
No description
- HTML 50.5%
- SCSS 46%
- JavaScript 2.8%
- Ruby 0.7%
| src | ||
| static/images | ||
| .dockerignore | ||
| .gitignore | ||
| .node-version | ||
| .npmrc | ||
| astro.config.mjs | ||
| Dockerfile | ||
| LICENSE | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| tsconfig.json | ||
Mutable Constant - Astro Static
This site now runs on Astro as a pure static markdown blog.
Requirements
- Node.js 20+
- pnpm
Development
Install dependencies:
pnpm install
Run the dev server:
pnpm dev
Build and preview
Build the production site:
pnpm build
Preview the generated output locally:
pnpm preview
Content model
- Blog posts live in
src/posts/**/*.md - Frontmatter keys:
title,slug,date(and optionalstatus) - Post URLs are generated as
/:year/:slug
Deploying
This site is hosted on Netlify with automatic deployments enabled.
- Pushing to
masterdeploys production - Pushing to
developdeploysdevelop.mutableconstant.com