From f912f6fee904b10ed173895b1c75d974c41a5891 Mon Sep 17 00:00:00 2001 From: Frieder Griesshammer Date: Sun, 1 Jan 2023 13:50:03 +0100 Subject: [PATCH 1/4] Drop deprecated 'preserveTaxonomyNames' setting --- config.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/config.yaml b/config.yaml index db33285..3564ceb 100644 --- a/config.yaml +++ b/config.yaml @@ -23,7 +23,6 @@ markup: noClasses: false # Use the theme's style sheet canonifyURLs: true -preserveTaxonomyNames: true metaDataFormat: yaml # Configure pagination From 77dba54b80cac18ef0f19653b2b970ece6867b6d Mon Sep 17 00:00:00 2001 From: Frieder Griesshammer Date: Sun, 1 Jan 2023 14:45:53 +0100 Subject: [PATCH 2/4] Update theme to latest version --- themes/slick | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/slick b/themes/slick index a4683dc..96e0577 160000 --- a/themes/slick +++ b/themes/slick @@ -1 +1 @@ -Subproject commit a4683dcfc63694ffa101ee4b23566568f81326d7 +Subproject commit 96e0577b1afd94b5c12bbf3beba040d6fd40e216 From cec58c51f011b70d3270e91e3c8cc89675d0f653 Mon Sep 17 00:00:00 2001 From: Frieder Griesshammer Date: Sun, 1 Jan 2023 13:51:34 +0100 Subject: [PATCH 3/4] Adjust 'sitemap' and 'enableRobotsTXT' settings to match settings syntax from theme (a.k.a. add descriptions) --- config.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/config.yaml b/config.yaml index 3564ceb..cf1d58c 100644 --- a/config.yaml +++ b/config.yaml @@ -132,8 +132,16 @@ menu: url: https://chaos.social/@dezentrale weight: 30 -sitemap: - changefreq: weekly - filename: sitemap.xml +# Enable generation of robots.txt enableRobotsTXT: true + +# Configure sitemap +sitemap: + # Values are 'always', 'hourly', 'daily',' weekly', 'monthly', 'yearly', + # and 'never'. Set to empty string to omit inclusion + changefreq: weekly + # Adjust filename of sitemap. (default: sitemap.xml) + filename: sitemap.xml + # Values range from 0.0 to 1.0. Set to -1 to omit inclusion + priority: -1 From 0d9850e6359ff0c9ef96e66ca9c4b2776a6d5814 Mon Sep 17 00:00:00 2001 From: Frieder Griesshammer Date: Sun, 1 Jan 2023 14:47:16 +0100 Subject: [PATCH 4/4] Drop custom 'robots.txt' layout as it now is included in the theme --- layouts/robots.txt | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 layouts/robots.txt diff --git a/layouts/robots.txt b/layouts/robots.txt deleted file mode 100644 index 9a27385..0000000 --- a/layouts/robots.txt +++ /dev/null @@ -1,8 +0,0 @@ -User-agent: * -Allow: / -Sitemap: {{ .Site.BaseURL }}sitemap.xml -Disallow: / -Allow: /posts/ -Allow: /termine/ -Allow: /events/ -Allow: /dezentrale/