From b6f2d03d39029543cd21a37205784518e3152c56 Mon Sep 17 00:00:00 2001 From: Sam Al-Sapti Date: Wed, 4 Jan 2023 23:06:53 +0100 Subject: [PATCH] Move robots.txt --- layouts/robots.txt | 4 ---- static/robots.txt | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) delete mode 100644 layouts/robots.txt create mode 100644 static/robots.txt diff --git a/layouts/robots.txt b/layouts/robots.txt deleted file mode 100644 index ac68366..0000000 --- a/layouts/robots.txt +++ /dev/null @@ -1,4 +0,0 @@ -User-agent: * -{{ range .Pages }} -Disallow: {{ .RelPermalink }} -{{ end }} \ No newline at end of file diff --git a/static/robots.txt b/static/robots.txt new file mode 100644 index 0000000..77470cb --- /dev/null +++ b/static/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: / \ No newline at end of file