mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
@@ -38,14 +38,12 @@ title = 'News'
|
|||||||
|
|
||||||
To override the built-in sitemap.xml template, create a new file in either of these locations:
|
To override the built-in sitemap.xml template, create a new file in either of these locations:
|
||||||
|
|
||||||
- `layouts/sitemap.xml`
|
|
||||||
- `layouts/sitemap.xml`
|
- `layouts/sitemap.xml`
|
||||||
|
|
||||||
When ranging through the page collection, access the _change frequency_ and _priority_ with `.Sitemap.ChangeFreq` and `.Sitemap.Priority` respectively.
|
When ranging through the page collection, access the _change frequency_ and _priority_ with `.Sitemap.ChangeFreq` and `.Sitemap.Priority` respectively.
|
||||||
|
|
||||||
To override the built-in sitemapindex.xml template, create a new file in either of these locations:
|
To override the built-in sitemapindex.xml template, create a new file in either of these locations:
|
||||||
|
|
||||||
- `layouts/sitemapindex.xml`
|
|
||||||
- `layouts/sitemapindex.xml`
|
- `layouts/sitemapindex.xml`
|
||||||
|
|
||||||
## Disable sitemap generation
|
## Disable sitemap generation
|
||||||
|
|||||||
Reference in New Issue
Block a user