From 5838bf02668f9c224f31e9e2d8dd380e75c44d8e Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 30 May 2022 19:48:57 +0200 Subject: robots.txt - switch from static to generated --- config.toml | 3 +-- static/robots.txt | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) delete mode 100644 static/robots.txt 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 -- cgit v1.2.3-70-g09d2