fix blog og:url

This commit is contained in:
Inian Parameshwaran committed 2021-04-02 11:53:19 +05:30
1 parent 108e2ef1dd
commit efe66808e0
1 file changed
+1 -1
@@ -75,7 +75,7 @@ export async function getStaticProps({ params }: any) {
nextPost: currentIndex === allPosts.length ? null : nextPost ? nextPost : null,
relatedPosts,
blog: {
slug: params.slug,
slug: `${params.year}/${params.month}/${params.day}/${params.slug}`,
content: mdxSource,
...data,
toc: toc(content, { maxdepth: 2 }),