1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-13 23:55:35 -04:00
2022-01-07 10:36:26 -05:00
parent 8936dba74e
commit b13923b3b7
4 changed files with 16 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
import { MDXRemote } from "next-mdx-remote";
import { serialize } from "next-mdx-remote/serialize";
import { NextSeo, ArticleJsonLd } from "next-seo";
import { escape } from "html-escaper";
import Content from "../../components/Content";
import Meta from "../../components/notes/Meta";
import mdxComponents from "../../components/mdxComponents";
@@ -42,8 +43,8 @@ const Note = ({ frontMatter, source }) => (
/>
<ArticleJsonLd
url={frontMatter.permalink}
title={frontMatter.title}
description={frontMatter.description}
title={escape(frontMatter.title)}
description={escape(frontMatter.description)}
datePublished={frontMatter.date}
dateModified={frontMatter.date}
images={frontMatter.image && [`${config.baseUrl}${frontMatter.image}`]}