Simple, easy-to-modify template to use for creating a blog, portfolio, or content-based website
- ✅ Next.js 14 App Directory
- ✅
next-mdx-remote
- ✅ RSS Feed
- ✅ Sitemap generation
- Tailwind CSS
- Syntax highlighting in
.mdx
- Custom components embeddable in
.mdx
files - Utility functions to customize further
config/site.ts
- Site title, description, and URL.env
to setBASE_URL
if you'd like to override the base URL you set inconfig/site.ts
The majority of the structure should be self evident, based on Next.js docs
content/
- Location for posts (.mdx files)utils/mdx-utils.ts
- Main functions for handling.mdx
and converting frontmatterlib/helpers.ts
- extra (i.e. not required) Options for handling.mdx
gray-matter
anddate-fns
are included but not required- If you'd like to remove them, remove the
lib/helpers.ts
file and its connections
- If you'd like to remove them, remove the
- Based off of leerob.io repo