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