This commit is contained in:
Maggie Appleton 2021-09-05 16:09:47 +01:00
parent 67b393a1f0
commit ee405f2f21

View file

@ -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>