From bf1d45824563376491c721d36051545fceb1c10a Mon Sep 17 00:00:00 2001 From: tdro Date: Tue, 17 May 2022 04:22:38 -0400 Subject: themes/default/layouts/_default/rss: Style feed --- config.toml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'config.toml') diff --git a/config.toml b/config.toml index 90a38c5..0f9e24f 100644 --- a/config.toml +++ b/config.toml @@ -115,6 +115,11 @@ enableRobotsTXT = true [params.search.verification] +[mediaTypes] + + [mediaTypes."application/xslt+xml"] + suffixes = ["xsl"] + [outputFormats] [outputFormats.html] @@ -127,7 +132,11 @@ enableRobotsTXT = true [outputFormats.rss] baseName = "rss" - mediaType = "application/xml" + mediaType = "application/rss+xml" + + [outputFormats.rss-style] + baseName = "rss" + mediaType = "application/xslt+xml" [outputFormats.authors] path = "authors" @@ -158,7 +167,7 @@ enableRobotsTXT = true mediaType = "application/manifest+json" [outputs] - home = ["html", "rss", "json", "authors", "sources", "browserconfig", "archive-messages", "archive-tags", "webmanifest"] + home = ["html", "rss", "rss-style", "json", "authors", "sources", "browserconfig", "archive-messages", "archive-tags", "webmanifest"] section = ["html", "rss"] taxonomy = ["html", "rss"] term = ["html", "rss"] -- cgit v1.2.3