summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-05-30 19:48:57 +0200
committerxengineering <me@xengineering.eu>2022-05-30 19:48:57 +0200
commit5838bf02668f9c224f31e9e2d8dd380e75c44d8e (patch)
treeb2a1ab8c03d51eb9cfe9a6d3a271cdbd52bc8b5c
parentae07a77ce5db5c3b5a1b065b7bd006e49d01f136 (diff)
downloadwebsite-5838bf02668f9c224f31e9e2d8dd380e75c44d8e.tar
website-5838bf02668f9c224f31e9e2d8dd380e75c44d8e.tar.zst
website-5838bf02668f9c224f31e9e2d8dd380e75c44d8e.zip
robots.txt - switch from static to generated
-rw-r--r--config.toml3
-rw-r--r--static/robots.txt3
2 files changed, 1 insertions, 5 deletions
diff --git a/config.toml b/config.toml
index 04c2c37..146001d 100644
--- a/config.toml
+++ b/config.toml
@@ -1,8 +1,7 @@
baseURL = "https://xengineering.eu/"
theme = "bare"
-
+enableRobotsTXT = true
disableKinds = ["taxonomy", "term", "RSS"]
-
[taxonomies]
category = "categories"
tag = "tags"
diff --git a/static/robots.txt b/static/robots.txt
deleted file mode 100644
index 581073b..0000000
--- a/static/robots.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-User-agent: *
-Disallow: /
-Allow: /index.html