--- import '../styles/global.css'; import Header from '../components/Header.astro'; import Footer from '../components/Footer.astro'; interface Props { title: string; description?: string; ogImage?: string; } const { title, description = 'Vergelijk sneaker prijzen bij alle Nederlandse shops. Vind de laagste prijs voor Nike, Adidas, New Balance en meer.', ogImage } = Astro.props; const canonicalURL = new URL(Astro.url.pathname, 'https://sneakerpicks.nl'); const gtmId = import.meta.env.PUBLIC_GTM_ID || 'GTM-5Q876SX9'; const gscVerification = import.meta.env.PUBLIC_GSC_VERIFICATION || ''; const isStaging = import.meta.env.MODE === 'staging' || (import.meta.env.PORT === '3002'); --- {gtmId && gtmId !== '' && ( )} {gscVerification && } {/* SEO: Staging protection */} {isStaging && } {/* Canonical URL - always points to production */} {/* hreflang - NL only site */} {/* Open Graph */} {ogImage && } {/* Twitter Card */} {ogImage && } {title} {gtmId && gtmId !== '' && ( )}