mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 16:17:21 +00:00
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:
1 parent
6a163f53a8
commit
7a67c38c4b
1 file changed
+1
-1
@@ -43,7 +43,7 @@ For multilingual sites, we also create a Sitemap index. You can provide a custom
|
|||||||
|
|
||||||
## Hugo’s sitemap.xml
|
## 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
|
```xml
|
||||||
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?>" | safeHTML }}
|
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?>" | safeHTML }}
|
||||||
|
|||||||
Reference in new issue
Block a user