From af7c6ff7dc63e0f69b454d9bf76944d548f7b1d5 Mon Sep 17 00:00:00 2001 From: Cassidy Williams <1454517+cassidoo@users.noreply.github.com> Date: Fri, 19 Jan 2024 15:43:55 -0600 Subject: [PATCH] Add robots.txt and sitemap info to build --- public/robots.txt | 4 ++++ src/components/BaseHead.astro | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 public/robots.txt diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..c13bc5b --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Allow: / + +Sitemap: https://blog.cassidoo.co/sitemap-index.xml \ No newline at end of file diff --git a/src/components/BaseHead.astro b/src/components/BaseHead.astro index 6964c27..060e689 100644 --- a/src/components/BaseHead.astro +++ b/src/components/BaseHead.astro @@ -52,6 +52,9 @@ const { title, description, image = "/home-blog-card.png" } = Astro.props; title={SITE_TITLE} /> + + +