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.json | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'config.json') diff --git a/config.json b/config.json index 25762ab..f4fad5d 100644 --- a/config.json +++ b/config.json @@ -203,10 +203,14 @@ "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", @@ -240,7 +244,8 @@ "home": [ "html", "rss", - "xslt", + "xslt.rss", + "xslt.sitemap", "json", "authors", "sources", @@ -347,5 +352,10 @@ "target": "assets/public" } ] + }, + "sitemap": { + "changefreq": "weekly", + "filename": "sitemap.xml", + "priority": 0.5 } } -- cgit v1.2.3