Core services
Blog
Add a static MDX compatible blog to your site
Contentlayer is used to create an MDX compatible blog. It allows you to easily write blogs to boost your SEO.
Writing blogs
You’ll find an example using various MDX components already present in the
/blogs
folder.
Everything is already set up, so you can start writing your blogs immediately:
- Create a new .mdx file in the folder
/blog
- Include the following metadata at the top of the file
- Start writing your blog!
Structure
app/blog/*
: front-end logic/blog/*
/ your articles go herecomponents/blog/*
: MDX components usedcontentlayer.config.ts
: contentlayer config file