mirror of
https://github.com/MaggieAppleton/digital-gardeners.git
synced 2024-12-03 14:00:34 +01:00
mdx fix
This commit is contained in:
parent
67b393a1f0
commit
ee405f2f21
|
@ -17,7 +17,7 @@ export default function Card({ post }) {
|
|||
}}
|
||||
>
|
||||
<Link
|
||||
as={`/posts/${post.filePath.replace(/\.md?$/, "")}`}
|
||||
as={`/posts/${post.filePath.replace(/\.mdx?$/, "")}`}
|
||||
href={`/posts/[slug]`}
|
||||
>
|
||||
<a>
|
||||
|
|
Loading…
Reference in a new issue