1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-21 07:21:17 -04:00

attempt to make edge functions a tad bit lighter

This commit is contained in:
2023-07-06 10:37:51 -04:00
parent 2f44d8d227
commit b13c8259b3
17 changed files with 121 additions and 146 deletions

View File

@@ -32,7 +32,7 @@ const Note = ({ frontMatter, source }: InferGetStaticPropsType<typeof getStaticP
},
images: [
{
url: `${config.baseUrl}${frontMatter.image || meJpg.src}`,
url: `${process.env.BASE_URL}${frontMatter.image || meJpg.src}`,
alt: frontMatter.title,
},
],
@@ -47,7 +47,7 @@ const Note = ({ frontMatter, source }: InferGetStaticPropsType<typeof getStaticP
description={frontMatter.description || config.longDescription}
datePublished={frontMatter.date}
dateModified={frontMatter.date}
images={[`${config.baseUrl}${frontMatter.image || meJpg.src}`]}
images={[`${process.env.BASE_URL}${frontMatter.image || meJpg.src}`]}
{...articleJsonLd}
/>