ref: 209166a261621b3ed4e25db252914bcd71054d31
parent: caaf6370689ab135a9e348b6662502e73dc75ac8
author: Michael Diamond <[email protected]>
date: Wed Aug 5 21:39:49 EDT 2015
Added sitemap configuration documentation.
--- a/docs/content/overview/configuration.md
+++ b/docs/content/overview/configuration.md
@@ -121,7 +121,8 @@
pygmentsStyle: "monokai"
# true: use pygments-css or false: color-codes directly
pygmentsUseClasses: false
- sitemap: ""
+ # default sitemap configuration map
+ sitemap:
# filesystem path to read files relative from
source: ""
staticdir: "static"
--- a/docs/content/templates/sitemap.md
+++ b/docs/content/templates/sitemap.md
@@ -50,3 +50,13 @@
on render. Please don't include this in the template as it's not valid HTML.*
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
+
+## Configuring sitemap.xml
+
+Defaults for `<changefreq>` and `<priority>` values can be set in the site's config file, e.g.:
+
+ [sitemap]
+ changefreq = "monthly"
+ priority = 0.5
+
+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