Welcome to the innards of my website. It's built using Next.js and deployed on Vercel.
If you want to run this site locally:
- Make sure you have Yarn installed
git clone https://github.com/daneden/daneden.me- Run
yarnto install dependencies - Run
yarn dev - Party.
To build for production, run yarn build.
Blog post metadata is centralized for easier management:
-
Create the MDX file at
app/(branches)/blog/YYYY/post-slug/page.mdx- Write your content in MDX format
- No need to export metadata from the file
-
Add metadata to
app/posts.json:{ "id": "post-slug", "title": "Your Post Title", "description": "A brief description of your post", "date": "YYYY-MM-DD" } -
That's it! The site will automatically:
- Generate the page metadata
- Create Open Graph images at
/og/[id] - Add the post to the blog listing and RSS feed
For more details, see CLAUDE.md.