Files
hugoDocs/content/en/variables/sitemap.md
T
Anthony Fok 77578f5bfc Move content/ into new contentDir content/en/
in preparation for adding new translations such as Chinese.

Paths for "readfile" shortcode are adjusted accordingly.

See #461
2018-05-01 11:23:28 -06:00

664 B

title, linktitle, description, date, publishdate, lastmod, categories, keywords, draft, menu, weight, sections_weight, aliases, toc
title linktitle description date publishdate lastmod categories keywords draft menu weight sections_weight aliases toc
Sitemap Variables Sitemap Variables 2017-03-12 2017-03-12 2017-03-12
variables and params
sitemap
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