mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-01 22:32:11 -05:00
24 lines
522 B
Markdown
24 lines
522 B
Markdown
---
|
|
title: Sitemap variables
|
|
description:
|
|
categories: [variables and parameters]
|
|
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 file name
|
|
|
|
[pagevars]: /variables/page/
|