From 08e3bc8d8547f16581cf00ccae4988304aa1081f Mon Sep 17 00:00:00 2001 From: kubgus Date: Tue, 27 Aug 2024 02:20:25 +0200 Subject: [PATCH] Add robots.txt (+ a meta tag) --- public/robots.txt | 1 + src/layouts/core.astro | 47 +++++++++++++++++++++--------------------- 2 files changed, 25 insertions(+), 23 deletions(-) create mode 100644 public/robots.txt diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..7d329b1 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1 @@ +User-agent: * diff --git a/src/layouts/core.astro b/src/layouts/core.astro index 8c8ada9..609aae8 100644 --- a/src/layouts/core.astro +++ b/src/layouts/core.astro @@ -5,6 +5,25 @@ const { title, meta } = Astro.props || { } --- + + + + + + + { meta?.map((meta : any) => + ) + } + + + + {title} + + + + + + - - - - - - - { meta?.map((meta : any) => - ) - } - - - - {title} - - - - -