Migrate from Hugo to Next.js 15 + Tailwind CSS - #2
Merged
Conversation
Replaces the Hugo/Ananke static site with a Next.js 15 App Router project using TypeScript and Tailwind CSS. All existing content (about, contact, blog post) is preserved and the blog supports adding new .md files to content/posts/. - Next.js 15, React 19, TypeScript, Tailwind CSS 3 + @tailwindcss/typography - MDX blog via gray-matter + next-mdx-remote; dark mode via prefers-color-scheme - CI workflow (GitHub Actions) runs next build on PRs; Vercel handles deployment
- Add `npm run new-post "Title"` scaffold script that creates a dated, draft post with the correct frontmatter - Add content/posts/README.md documenting the weekly posting workflow - Fix getPost to resolve both .md and .mdx files (previously only .md, causing .mdx posts to 404 despite appearing in the index) - Normalize frontmatter dates to ISO strings for stable sorting/typing - Skip files without a title (e.g. README.md) in the post index
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces the Hugo/Ananke static site with a Next.js 15 App Router project using
TypeScript and Tailwind CSS. All existing content (about, contact, blog post) is
preserved and the blog supports adding new .md files to content/posts/.