From 1ea82e754a8567f397915933ecaa24d1f32ab19a Mon Sep 17 00:00:00 2001 From: Thedro Neely Date: Sat, 19 Jun 2021 01:35:07 -0400 Subject: generators/hugo/layouts/_default/rss: Fix and normalize RSS feeds Use layout mechanism to hide some short codes on RSS output format. --- generators/hugo/config.yaml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'generators/hugo/config.yaml') diff --git a/generators/hugo/config.yaml b/generators/hugo/config.yaml index 90d6cf6..8773343 100644 --- a/generators/hugo/config.yaml +++ b/generators/hugo/config.yaml @@ -31,16 +31,12 @@ pygmentsCodeFences: true pygmentsUseClasses: true pygmentsCodeFencesGuessSyntax: true -# RSS -mediaTypes: - application/atom: - suffixes: xml - +# Output formats outputFormats: - RSS: - mediaType: application/rss + rss: baseName: rss + mediaType: application/xml outputs: home: - - RSS + - rss -- cgit v1.2.3