Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions config/_default/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ enableRobotsTXT = true
[outputFormats.RSS]
baseName = "rss"

# We set the outputs explicitly to just "HTML" as otherwise they default to both
# "HTML" and "RSS", and we only want to generate RSS for the blog section -- not
# all sections/taxonomies. We enable RSS as an output for the blog section alone
# in the front matter of content/blog/_index.md and have a custom RSS template
# in layouts/blog/rss.xml.
[outputs]
home = ["HTML"]
section = ["HTML"]
taxonomy = ["HTML"]

[taxonomies]
author = "authors"
tag = "tags"
Expand Down
1 change: 1 addition & 0 deletions content/blog/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Blog
outputs: ["html", "rss"]
authors: []
tags: []
summary: ""
Expand Down