diff --git a/src/components/core/MetaTags.astro b/src/components/core/MetaTags.astro index 66c55d3..91713f8 100644 --- a/src/components/core/MetaTags.astro +++ b/src/components/core/MetaTags.astro @@ -58,7 +58,7 @@ const image = url: image.toString(), alt: ogTitle, }, - ] + ] : undefined, // site_name: 'SiteName', }} diff --git a/src/utils/utils.js b/src/utils/utils.js index a873d1a..549d271 100644 --- a/src/utils/utils.js +++ b/src/utils/utils.js @@ -5,5 +5,5 @@ export const getFormattedDate = (date) => year: 'numeric', month: 'short', day: 'numeric', - }) + }) : '';