Skip to content
edvzigPublic

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Investment Notes

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 new post

1. Create a file

Add a .md or .mdx file in src/content/blog/. Use a descriptive filename:

src/content/blog/intelligent-investor-chapter-2.mdx

2. Add frontmatter

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).

3. Write the content

Use regular Markdown below the frontmatter:

## Key Takeaways

- Point one
- Point two

## What Resonated

Your reflections here.

## Open Questions

- Question you're still thinking about

4. Preview locally (optional)

npm run dev

Open http://localhost:4321

5. Publish

git add -A
git commit -m "Add chapter 2 notes: The Intelligent Investor"
git push

Vercel redeploys automatically in ~30 seconds. No extra deploy step.

Useful commands

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

Project structure

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

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages