Personal blog for weekly investment book notes. Built with Astro, deployed on Vercel.
Live site: https://blog-cyan-eight-59.vercel.app
Repo: https://github.com/edvzig/blog
Add a .md or .mdx file in src/content/blog/. Use a descriptive filename:
src/content/blog/intelligent-investor-chapter-2.mdx
Every post needs this metadata at the top:
---
title: "Reflections on Chapter 2: The Investor and Inflation"
pubDate: 2026-07-19
book: "The Intelligent Investor"
chapter: 2
tags: ["inflation", "purchasing-power"]
description: "One-line summary shown on the home page and book index."
---| Field | Required | Notes |
|---|---|---|
title |
yes | Post headline |
pubDate |
yes | YYYY-MM-DD |
book |
yes | Groups posts on /books |
description |
yes | Short excerpt for listings |
chapter |
no | Number or string |
tags |
no | Array of strings |
updatedDate |
no | If you revise a post later |
heroImage |
no | Optional cover image |
Use the same book name across chapters so they group together (e.g. always "The Intelligent Investor", not variations).
Use regular Markdown below the frontmatter:
## Key Takeaways
- Point one
- Point two
## What Resonated
Your reflections here.
## Open Questions
- Question you're still thinking aboutnpm run devgit add -A
git commit -m "Add chapter 2 notes: The Intelligent Investor"
git pushVercel redeploys automatically in ~30 seconds. No extra deploy step.
| Command | What it does |
|---|---|
npm run dev |
Local dev server at localhost:4321 |
npm run build |
Production build to dist/ |
npm run preview |
Preview the production build |
src/content/blog/ ← your posts live here
src/pages/ ← site pages (home, books, notes)
src/components/ ← header, footer, etc.
astro.config.mjs ← site URL, integrations