From 2e16398b6dc47db2f29aec32fe2dfc4428e36707 Mon Sep 17 00:00:00 2001 From: Penelope Yong Date: Tue, 20 Feb 2024 19:07:04 +0000 Subject: [PATCH] Go away Google --- public/robots.txt | 4 +--- src/components/BaseHead.astro | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/public/robots.txt b/public/robots.txt index 33713a8..1f53798 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -1,4 +1,2 @@ User-agent: * -Allow: / - -Sitemap: https://astro-cactus.chriswilliams.dev/sitemap-index.xml \ No newline at end of file +Disallow: / diff --git a/src/components/BaseHead.astro b/src/components/BaseHead.astro index ff3a971..8861004 100644 --- a/src/components/BaseHead.astro +++ b/src/components/BaseHead.astro @@ -15,6 +15,9 @@ const canonicalURL = new URL(Astro.url.pathname, Astro.site); const socialImageURL = new URL(ogImage ? ogImage : "/social-card.png", Astro.url).href; --- +{/* Go away, Google */} + +