From abcab1b57d6bc3e6e44ff4d143f33bee8cc15a4d Mon Sep 17 00:00:00 2001 From: tdro Date: Tue, 6 Dec 2022 22:13:01 -0500 Subject: themes/default/layouts/_default/sitemap.xml: Add schema and transform Validate with schema. Switch to xml-data identifier attribute and adjust file name-spacing in configuration --- config.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'config.yaml') diff --git a/config.yaml b/config.yaml index 5dbe841..3177b5a 100644 --- a/config.yaml +++ b/config.yaml @@ -131,9 +131,12 @@ outputFormats: rss: baseName: rss mediaType: application/rss+xml - xslt: + xslt.rss: baseName: rss mediaType: application/xslt+xml + xslt.sitemap: + baseName: sitemap + mediaType: application/xslt+xml authors: path: authors baseName: index @@ -161,7 +164,8 @@ outputs: home: - html - rss - - xslt + - xslt.rss + - xslt.sitemap - json - authors - sources @@ -231,3 +235,8 @@ module: target: data/authors - source: public target: assets/public + +sitemap: + changefreq: weekly + filename: sitemap.xml + priority: 0.5 -- cgit v1.2.3