Personal blog built with Astro and deployed on Netlify.
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run preview# Create a new post (title gets slugified)
npm run post "Post Title"Posts are stored in src/content/posts/ as markdown files with frontmatter:
---
title: "Post Title"
date: 2024-01-01
excerpt: "Optional excerpt"
comments: true
---
Post content here...src/
├── components/ # Astro and React components
├── content/ # Blog posts and content collections
├── layouts/ # Page layouts
├── pages/ # File-based routing
└── styles/ # CSS files
The site builds to static HTML and deploys automatically via Netlify when pushing to the main branch.