hugo/docs/content/en/variables/sitemap.md
2023-05-22 16:47:07 +02:00

25 lines
546 B
Markdown

---
title: Sitemap Variables
linktitle: Sitemap Variables
description:
categories: [variables and params]
keywords: [sitemap]
menu:
docs:
parent: variables
weight: 80
weight: 80
---
A sitemap is a `Page` and therefore has all the [page variables][pagevars] 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
[pagevars]: /variables/page/