mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 08:18:30 +00:00
Allow renaming of sitemap.xml
This commit is contained in:
1 parent
970e35ab34
commit
854477959c
1 file changed
+4
-2
@@ -23,6 +23,7 @@ along with Sitemap-specific ones:
|
||||
|
||||
**.Sitemap.ChangeFreq** The page change frequency<br>
|
||||
**.Sitemap.Priority** The priority of the page<br>
|
||||
**.Sitemap.Filename** The sitemap filename<br>
|
||||
|
||||
In addition to the standard node variables, the homepage has access to all
|
||||
site pages through `.Data.Pages`.
|
||||
@@ -53,10 +54,11 @@ on render. Please don't include this in the template as it's not valid HTML.*
|
||||
|
||||
## Configuring sitemap.xml
|
||||
|
||||
Defaults for `<changefreq>` and `<priority>` values can be set in the site's config file, e.g.:
|
||||
Defaults for `<changefreq>`, `<priority>` and `filename` values can be set in the site's config file, e.g.:
|
||||
|
||||
[sitemap]
|
||||
changefreq = "monthly"
|
||||
priority = 0.5
|
||||
filename = "sitemap.xml"
|
||||
|
||||
The same fields can be specified in an individual page's front matter in order to override the value for that page.
|
||||
The same fields can be specified in an individual page's front matter in order to override the value for that page.
|
||||
Reference in new issue
Block a user