Try to improve Atom generation

This commit is contained in:
Sergio Durigan Junior 2024-06-12 23:54:59 -04:00
parent 518f0c2a91
commit c50986c026
Signed by: sergiodj
GPG key ID: D0EB762865FC5E36

View file

@ -96,8 +96,7 @@ paginate = 20
url = "/atom.xml"
weight = 10
[mediaTypes]
[mediaTypes."application/atom"]
[mediaTypes."application/atom+xml"]
suffixes = ["xml"]
[outputFormats]
@ -110,16 +109,22 @@ paginate = 20
[outputFormats.RSS]
mediaType = "application/rss"
baseName = "rss"
rel = "alternate"
noUgly = true
isPlainText = false
permalinkable = false
[outputFormats.Atom]
mediaType = "application/atom"
mediaType = "application/atom+xml"
baseName = "atom"
rel = "alternate"
isPlainText = false
noUgly = true
permalinkable = false
[outputs]
home = ["HTML", "RSS", "MANIFEST", "Atom"]
taxonomy = ["HTML", "RSS", "Atom"]
term = ["HTML", "RSS", "Atom"]
# Necessary for ox-hugo
# See https://ox-hugo.scripter.co/doc/goldmark/