From 102df8afe98183ef5dafa3c2821c26e5d268c1f0 Mon Sep 17 00:00:00 2001 From: shruub Date: Sat, 20 Jan 2024 15:45:24 +0100 Subject: [PATCH] QoL Fixes: Adding robots.txt file, removing mastodon link, fixing header to link directly --- config.toml | 1 + layouts/robots.txt | 7 +++++++ public/de/chat/index.html | 8 ++++---- public/de/donate/index.html | 8 ++++---- public/de/index.html | 8 ++++---- public/de/privacy/index.html | 8 ++++---- public/de/rules/index.html | 8 ++++---- public/en/chat/index.html | 8 ++++---- public/en/donate/index.html | 8 ++++---- public/en/privacy/index.html | 8 ++++---- public/en/rules/index.html | 8 ++++---- public/index.html | 8 ++++---- public/robots.txt | 7 +++++++ themes/hugodieehre/layouts/partials/footer.html | 2 +- themes/hugodieehre/layouts/partials/header.html | 6 +++--- 15 files changed, 59 insertions(+), 44 deletions(-) create mode 100644 layouts/robots.txt create mode 100644 public/robots.txt diff --git a/config.toml b/config.toml index 959be03..da357d2 100644 --- a/config.toml +++ b/config.toml @@ -3,6 +3,7 @@ languageCode = "en-us" title = "habedieeh.re" theme="hugodieehre" defaultContentLanguage = "en" +enableRobotsTXT = "true" [languages] [languages.de] diff --git a/layouts/robots.txt b/layouts/robots.txt new file mode 100644 index 0000000..52f2e72 --- /dev/null +++ b/layouts/robots.txt @@ -0,0 +1,7 @@ +User-agent: * +Disallow: /tags/ +Disallow: /categories/ + +# yeah, imagine completly forgetting a robots.txt site until now. +# also, o/ +# generating doesnt seem to work, so imma set it statically :^) diff --git a/public/de/chat/index.html b/public/de/chat/index.html index 8a26764..a62e27f 100644 --- a/public/de/chat/index.html +++ b/public/de/chat/index.html @@ -14,10 +14,10 @@ @@ -46,7 +46,7 @@ - no-JS Club Mastodon + no-JS Club

TOR/onion | habedieehre.i2p/eepsite | OpenNIC | (c) shruub, 2023-2024

diff --git a/public/de/donate/index.html b/public/de/donate/index.html index c86f772..f0ac0f2 100644 --- a/public/de/donate/index.html +++ b/public/de/donate/index.html @@ -14,10 +14,10 @@ @@ -34,7 +34,7 @@ - no-JS Club Mastodon + no-JS Club

TOR/onion | habedieehre.i2p/eepsite | OpenNIC | (c) shruub, 2023-2024

diff --git a/public/de/index.html b/public/de/index.html index ef325e5..f68d9dd 100644 --- a/public/de/index.html +++ b/public/de/index.html @@ -15,10 +15,10 @@ @@ -131,7 +131,7 @@ - no-JS Club Mastodon + no-JS Club

TOR/onion | habedieehre.i2p/eepsite | OpenNIC | (c) shruub, 2023-2024

diff --git a/public/de/privacy/index.html b/public/de/privacy/index.html index 47e5f6b..50d7d60 100644 --- a/public/de/privacy/index.html +++ b/public/de/privacy/index.html @@ -14,10 +14,10 @@ @@ -51,7 +51,7 @@ - no-JS Club Mastodon + no-JS Club

TOR/onion | habedieehre.i2p/eepsite | OpenNIC | (c) shruub, 2023-2024

diff --git a/public/de/rules/index.html b/public/de/rules/index.html index 9a8386c..6bddcb0 100644 --- a/public/de/rules/index.html +++ b/public/de/rules/index.html @@ -14,10 +14,10 @@ @@ -56,7 +56,7 @@ - no-JS Club Mastodon + no-JS Club

TOR/onion | habedieehre.i2p/eepsite | OpenNIC | (c) shruub, 2023-2024

diff --git a/public/en/chat/index.html b/public/en/chat/index.html index dd9da27..77da254 100644 --- a/public/en/chat/index.html +++ b/public/en/chat/index.html @@ -14,10 +14,10 @@ @@ -46,7 +46,7 @@ - no-JS Club Mastodon + no-JS Club

TOR/onion | habedieehre.i2p/eepsite | OpenNIC | (c) shruub, 2023-2024

diff --git a/public/en/donate/index.html b/public/en/donate/index.html index dc0e2f9..bc3463e 100644 --- a/public/en/donate/index.html +++ b/public/en/donate/index.html @@ -14,10 +14,10 @@ @@ -34,7 +34,7 @@ - no-JS Club Mastodon + no-JS Club

TOR/onion | habedieehre.i2p/eepsite | OpenNIC | (c) shruub, 2023-2024

diff --git a/public/en/privacy/index.html b/public/en/privacy/index.html index 2fe1052..eea25ae 100644 --- a/public/en/privacy/index.html +++ b/public/en/privacy/index.html @@ -14,10 +14,10 @@ @@ -57,7 +57,7 @@ - no-JS Club Mastodon + no-JS Club

TOR/onion | habedieehre.i2p/eepsite | OpenNIC | (c) shruub, 2023-2024

diff --git a/public/en/rules/index.html b/public/en/rules/index.html index 59ba015..552758e 100644 --- a/public/en/rules/index.html +++ b/public/en/rules/index.html @@ -14,10 +14,10 @@ @@ -55,7 +55,7 @@ - no-JS Club Mastodon + no-JS Club

TOR/onion | habedieehre.i2p/eepsite | OpenNIC | (c) shruub, 2023-2024

diff --git a/public/index.html b/public/index.html index a8c375d..b015e48 100644 --- a/public/index.html +++ b/public/index.html @@ -15,10 +15,10 @@ @@ -131,7 +131,7 @@ - no-JS Club Mastodon + no-JS Club

TOR/onion | habedieehre.i2p/eepsite | OpenNIC | (c) shruub, 2023-2024

diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..52f2e72 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,7 @@ +User-agent: * +Disallow: /tags/ +Disallow: /categories/ + +# yeah, imagine completly forgetting a robots.txt site until now. +# also, o/ +# generating doesnt seem to work, so imma set it statically :^) diff --git a/themes/hugodieehre/layouts/partials/footer.html b/themes/hugodieehre/layouts/partials/footer.html index ed3dc13..8614ee5 100644 --- a/themes/hugodieehre/layouts/partials/footer.html +++ b/themes/hugodieehre/layouts/partials/footer.html @@ -1,2 +1,2 @@ - no-JS Club Mastodon + no-JS Club

TOR/onion | habedieehre.i2p/eepsite | OpenNIC | (c) shruub, 2023-2024

diff --git a/themes/hugodieehre/layouts/partials/header.html b/themes/hugodieehre/layouts/partials/header.html index 2b5af99..0ec3ce8 100644 --- a/themes/hugodieehre/layouts/partials/header.html +++ b/themes/hugodieehre/layouts/partials/header.html @@ -5,10 +5,10 @@