Skip to content

shw1606/blog-app

Repository files navigation

blog-app

Source for seo-hnoo.me.

Stack

  • Next.js 16 (App Router) · TypeScript
  • Tailwind CSS v4 · @tailwindcss/typography
  • MDX via next-mdx-remote
  • pnpm · Vercel

Routes

/             home — post list, newest first
/about        bio
/posts/[slug] single post
/rss.xml      RSS feed

Content

Posts and media live in blog-content, a private repo mounted here as a git submodule at content/.

blog-app/                public
└── content/             submodule → blog-content (private)
    ├── about.md
    ├── profile.jpg
    └── posts/

Images under content/ are synced into public/ at build time so Next can serve them as static assets (scripts/sync-content-assets.mjs).

Local

pnpm install
git submodule update --init --recursive
pnpm dev

If ../blog-content exists as a sibling clone, the dev server reads from it directly and live-reloads on edits there.

Publishing new content

After pushing to blog-content, bump this repo's submodule pointer so Vercel rebuilds against the latest commit:

pnpm publish-content

That fetches blog-content's main HEAD, commits the new pointer here, and pushes. No-op if already up to date.

About

Source for seo-hnoo.me — a personal blog built with Next.js 16, Tailwind CSS, and MDX. Content lives in a private submodule, deployed on Vercel.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors