From fd0c90cbbb07ed7794f6eadce03feec1069c6ead Mon Sep 17 00:00:00 2001 From: Joseph Nuthalapati Date: Mon, 28 Mar 2022 13:22:05 +0530 Subject: [PATCH] Fix RSS feeds Fixed according to this blog post https://davidbuck.net/post/setup-hugo-to-output-only-an-rss-feed-of-blog-posts/ --- config.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config.toml b/config.toml index 03bcff6..29634fd 100644 --- a/config.toml +++ b/config.toml @@ -31,3 +31,12 @@ enableRobotsTXT = true # identifier = "about" # weight = 300 # url = "/about/" + +[outputs] +home = [ "RSS", "HTML"] +section = ["HTML"] + +[outputFormats] +[outputFormats.RSS] +mediatype = "application/rss" +baseName = "feed" -- 2.43.0