summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.toml6
-rw-r--r--static/blog/robots.txt2
-rw-r--r--themes/new_theme/layouts/robots.txt1
3 files changed, 6 insertions, 3 deletions
diff --git a/config.toml b/config.toml
index 4480992..d53a229 100644
--- a/config.toml
+++ b/config.toml
@@ -76,4 +76,8 @@ category = "categories"
[outputs]
home = [ "HTML", "JSON"]
page = [ "HTML"]
-
+
+[sitemap]
+ changefreq = "monthly"
+ filename = "sitemap.xml"
+ priority = 0.5
diff --git a/static/blog/robots.txt b/static/blog/robots.txt
deleted file mode 100644
index 1f53798..0000000
--- a/static/blog/robots.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-User-agent: *
-Disallow: /
diff --git a/themes/new_theme/layouts/robots.txt b/themes/new_theme/layouts/robots.txt
index eb05362..981f0df 100644
--- a/themes/new_theme/layouts/robots.txt
+++ b/themes/new_theme/layouts/robots.txt
@@ -1,2 +1,3 @@
User-agent: *
Disallow:
+Sitemap: http://www.andreasbaumann.cc/sitemap.xml