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 2021-01-27 17:12:27 +01:00 committed by GitHub
parent 6a163f53a8
commit 7a67c38c4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ For multilingual sites, we also create a Sitemap index. You can provide a custom
## Hugos 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 }}