Correct sitemap version (#1318)

As correctly stated at the beginning of the docs, sitemap protocol uses version 0.9 currently. Dont confuse with xml version 1.0
This commit is contained in:
NicoHood authored and GitHub committed 2021-01-28 01:12:27 +09:00
1 parent 6a163f53a8
commit 7a67c38c4b
1 file changed
+1 -1
+1 -1
View File
@@ -43,7 +43,7 @@ For multilingual sites, we also create a Sitemap index. You can provide a custom
## Hugo’s sitemap.xml
This template respects the version 1.0 of the [Sitemap Protocol](https://www.sitemaps.org/protocol.html).
This template respects the version 0.9 of the [Sitemap Protocol](https://www.sitemaps.org/protocol.html).
```xml
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?>" | safeHTML }}