You can write MDX exactly the same way you do with documentation
There are also additional options you should pass to the front matter:
name
date
description
The name
option will be the main title
of you post page and the date
option will be positioned below, in a pretty and simple layout
These details are also used by the BlogPosts
component to show a grid of all your posts
1---2name: Example post3date: 25 June, 20204description: An example post made just to test the dokz blog feature5---67## Blog post content...
Notice the space between the exports, MDX parse seems to have a bug with exports that have not at least 1 line of space between them
You can use the package next-seo
to easily add SEO tags to any nextjs page
1---2name: Example post3date: 25 June, 20204description: An example post made just to test the dokz blog feature5---67import { NextSeo } from 'next-seo'89<NextSeo title='Title' description='A short description goes here.' />1011## My content...