summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDennis Fink2026-11-04 21:58:21 +0100
committerDennis Fink2026-11-04 21:58:21 +0100
commita55b317dcf9207705c78d90f0e4e34a737eb90c0 (patch)
tree1b235a31b43eeebf2fb8cb4aa66edec5e71dbc25 /templates
parentcb507c0a0c0e9f338b48468be2fd0a35b01ac25f (diff)
downloaddennisfink.me-a55b317dcf9207705c78d90f0e4e34a737eb90c0.tar.gz
dennisfink.me-a55b317dcf9207705c78d90f0e4e34a737eb90c0.zip
Add robots.txt with sitemap reference
This adds a robots.txt file that allows all crawlers to access the site and advertises the XML sitemap for easier discovery.
Diffstat (limited to 'templates')
-rw-r--r--templates/robots.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/robots.txt b/templates/robots.txt
new file mode 100644
index 0000000..7dd5675
--- /dev/null
+++ b/templates/robots.txt
@@ -0,0 +1,4 @@
+User-agent: *
+Allow: /
+
+Sitemap: {{ '/sitemap.xml' |url(absolute=True, external=True) }}