hugo/docs/content/variables/sitemap.md

667 B

title linktitle description date publishdate lastmod categories draft menu weight sections_weight aliases toc
Sitemap Variables Sitemap Variables 2017-03-12 2017-03-12 2017-03-12
variables and params
false
docs
parent weight
variables 80
80 80
false

A sitemap is a Page and therefore has all the page variables available to use sitemap templates. They also have the following sitemap-specific variables available to them:

.Sitemap.ChangeFreq
the page change frequency
.Sitemap.Priority
the priority of the page
.Sitemap.Filename
the sitemap filename