--- import '../styles/global.css'; import Header from '../components/Header.astro'; import Footer from '../components/Footer.astro'; import SEO from '../components/SEO.astro'; interface Props { title: string; description?: string; canonicalUrl?: string; ogImage?: string; jsonLd?: object | object[]; noIndex?: boolean; } const { title, description = 'Collection of alerting rules for Prometheus. Copy-pasteable Prometheus alert configurations for 90+ services.', canonicalUrl, ogImage, jsonLd, noIndex = false, } = Astro.props; const base = import.meta.env.BASE_URL; const siteUrl = 'https://samber.github.io'; const canonical = canonicalUrl ?? `${siteUrl}${base}${Astro.url.pathname.replace(base, '')}`; ---
{noIndex && }