Try to improve Atom generation
This commit is contained in:
parent
518f0c2a91
commit
c50986c026
1 changed files with 10 additions and 5 deletions
13
config.toml
13
config.toml
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue