mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
b9bd35d72e
git-subtree-dir: docs git-subtree-split: fdea5430f89dfd849d39212abdf5ace0a4763e5a
32 lines
No EOL
664 B
Markdown
32 lines
No EOL
664 B
Markdown
---
|
|
title: Sitemap Variables
|
|
linktitle: Sitemap Variables
|
|
description:
|
|
date: 2017-03-12
|
|
publishdate: 2017-03-12
|
|
lastmod: 2017-03-12
|
|
categories: [variables and params]
|
|
keywords: [sitemap]
|
|
draft: false
|
|
menu:
|
|
docs:
|
|
parent: "variables"
|
|
weight: 80
|
|
weight: 80
|
|
sections_weight: 80
|
|
aliases: []
|
|
toc: false
|
|
---
|
|
|
|
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/ |