mirror of
https://github.com/treetrum/mutable-constant
synced 2026-11-05 05:53:54 +11:00
No description
- HTML 50.5%
- SCSS 46%
- JavaScript 2.8%
- Ruby 0.7%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 7.2.2 to 7.2.8. - [Release notes](https://github.com/withastro/astro/releases) - [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md) - [Commits](https://github.com/withastro/astro/commits/[email protected]/packages/astro) --- updated-dependencies: - dependency-name: astro dependency-version: 7.2.8 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]> |
||
| .github/workflows | ||
| 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