From 854477959caa2b7e32ace9935e3200f938e51e16 Mon Sep 17 00:00:00 2001 From: Gerben Castel Date: Thu, 10 Dec 2015 19:39:06 +0000 Subject: [PATCH] Allow renaming of sitemap.xml --- content/templates/sitemap.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/content/templates/sitemap.md b/content/templates/sitemap.md index 39d9b803e..701f06363 100644 --- a/content/templates/sitemap.md +++ b/content/templates/sitemap.md @@ -23,6 +23,7 @@ along with Sitemap-specific ones: **.Sitemap.ChangeFreq** The page change frequency
**.Sitemap.Priority** The priority of the page
+**.Sitemap.Filename** The sitemap filename
In addition to the standard node variables, the homepage has access to all site pages through `.Data.Pages`. @@ -53,10 +54,11 @@ on render. Please don't include this in the template as it's not valid HTML.* ## Configuring sitemap.xml -Defaults for `` and `` values can be set in the site's config file, e.g.: +Defaults for ``, `` and `filename` values can be set in the site's config file, e.g.: [sitemap] changefreq = "monthly" priority = 0.5 + filename = "sitemap.xml" -The same fields can be specified in an individual page's front matter in order to override the value for that page. \ No newline at end of file +The same fields can be specified in an individual page's front matter in order to override the value for that page.