diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2019-10-16 16:11:35 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2019-10-16 16:11:35 +0200 |
commit | 530d55e2ab0d3b8452f7b2aaa3562948ac224b8a (patch) | |
tree | 94902514928a50bbc0af03638bbed900edcc3d87 | |
parent | c731b2b99314f223bb786e444c893d55c48f97ab (diff) | |
download | www-andreasbaumann-cc-530d55e2ab0d3b8452f7b2aaa3562948ac224b8a.tar.gz www-andreasbaumann-cc-530d55e2ab0d3b8452f7b2aaa3562948ac224b8a.tar.bz2 |
added sitemap and reduced robots.txt to one file
-rw-r--r-- | config.toml | 6 | ||||
-rw-r--r-- | static/blog/robots.txt | 2 | ||||
-rw-r--r-- | themes/new_theme/layouts/robots.txt | 1 |
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 |