From 3ae6ecebeb7f49f2a4deb343881646acc1432197 Mon Sep 17 00:00:00 2001 From: jamerrq Date: Thu, 23 May 2024 10:14:21 -0500 Subject: [PATCH] chore: update seo config --- src/components/head/seo.astro | 45 ++++++++++++++++++++++------------- 1 file changed, 29 insertions(+), 16 deletions(-) diff --git a/src/components/head/seo.astro b/src/components/head/seo.astro index df39aab..3e0488f 100644 --- a/src/components/head/seo.astro +++ b/src/components/head/seo.astro @@ -2,10 +2,10 @@ import { SEO } from 'astro-seo' import RichResults from './richResults.astro' -const url = Astro.url -const isInDeno = url.toString().includes('.deno.dev') +const prod = import.meta.env.PROD --- + - - + + +{ + prod && ( + <> + + + + + ) +} + + - + + @@ -31,6 +44,12 @@ const isInDeno = url.toString().includes('.deno.dev') + + + @@ -108,15 +127,8 @@ const isInDeno = url.toString().includes('.deno.dev') - -{ - !import.meta.env.DEV && ( - <> - {/*