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