From: Joseph Nuthalapati Date: Mon, 28 Mar 2022 07:52:05 +0000 (+0530) Subject: Fix RSS feeds X-Git-Url: http://njoseph.me/gitweb/blog.git/commitdiff_plain Fix RSS feeds Fixed according to this blog post https://davidbuck.net/post/setup-hugo-to-output-only-an-rss-feed-of-blog-posts/ --- 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"