Set sitemap priority for key pages

The very key pages get 1.0 priority; other good landing pages get 0.9
and the remaining pages have a default priority, 0.75.
This commit is contained in:
Tim Bannister
2020-09-26 14:06:22 +01:00
parent b66ce8d8cd
commit 961438877d
5 changed files with 12 additions and 0 deletions
+4
View File
@@ -66,6 +66,10 @@ date = ["date", ":filename", "publishDate", "lastmod"]
[permalinks]
blog = "/:section/:year/:month/:day/:slug/"
[sitemap]
filename = "sitemap.xml"
priority = 0.75
# Be explicit about the output formats. We (currently) only want an RSS feed for the home page.
[outputs]
home = [ "HTML", "RSS", "HEADERS" ]