Used MDX for pages to include components
This commit is contained in:
@@ -19,7 +19,7 @@ export default function HomePage(
|
||||
|
||||
export const getStaticProps = async ({ params }) => {
|
||||
const tinaProps = await client.queries.contentQuery({
|
||||
relativePath: `${ params.filename }.md`
|
||||
relativePath: `${ params.filename }.mdx`
|
||||
});
|
||||
const props = {
|
||||
...tinaProps,
|
||||
|
||||
Reference in New Issue
Block a user