fix(opengraph): added mandatory opengraph tags to all pages. Also fixed some other minor bugs

This commit is contained in:
2023-09-24 01:25:53 +02:00
parent 4e6b042a44
commit 98a3eb71f5
19 changed files with 34 additions and 20 deletions

View File

@@ -26,6 +26,7 @@ const PageTemplate: React.FC<Props> = ({ data }: Props) => {
title={`${title} - ${siteTitle}`}
description={metaDescription}
socialImage={socialImage?.publicURL}
slug={data.markdownRemark.fields.slug}
>
<Sidebar />
<Page title={title}>
@@ -40,6 +41,9 @@ export const query = graphql`
markdownRemark(fields: { slug: { eq: $slug } }) {
id
html
fields {
slug
}
frontmatter {
title
date