Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/variables/sitemap.md')
-rw-r--r--docs/content/en/variables/sitemap.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/docs/content/en/variables/sitemap.md b/docs/content/en/variables/sitemap.md
new file mode 100644
index 000000000..dd926f2b3
--- /dev/null
+++ b/docs/content/en/variables/sitemap.md
@@ -0,0 +1,32 @@
+---
+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/ \ No newline at end of file