diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index 9a6b971..8231f95 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -18,7 +18,6 @@ const { } = Astro.props; const title = `${titleProp ? `${titleProp} - ` : ''}Cats Of Tech`; -const imageUrl = image ? new URL(image, Astro.url) : null; --- @@ -35,10 +34,13 @@ const imageUrl = image ? new URL(image, Astro.url) : null; { - imageUrl && ( + image && ( <> - - + + ) }