mirror of
https://github.com/Brandon-Rozek/website.git
synced 2024-12-22 12:42:58 +00:00
Added feedjson, as2, and atom support
This commit is contained in:
parent
c2bab4bd67
commit
ccfdccda08
2 changed files with 48 additions and 2 deletions
48
config.toml
48
config.toml
|
@ -8,6 +8,9 @@ enableGitInfo = true
|
|||
series = "series"
|
||||
tags = "tags"
|
||||
|
||||
[author]
|
||||
name = "Brandon Rozek"
|
||||
|
||||
[params]
|
||||
author = "Brandon Rozek"
|
||||
avatar = "avatar.jpg"
|
||||
|
@ -20,8 +23,51 @@ enableGitInfo = true
|
|||
"https://fosstodon.org/@brozek"
|
||||
]
|
||||
|
||||
[services.rss]
|
||||
limit = 50
|
||||
|
||||
[mediaTypes."application/atom+xml"]
|
||||
suffixes = ["atom"]
|
||||
|
||||
[mediaTypes."application/activity+json"]
|
||||
suffixes = ["ajson"]
|
||||
|
||||
[mediaTypes."application/feed+json"]
|
||||
suffixes = ["json"]
|
||||
|
||||
[outputFormats.Atom]
|
||||
name = "Atom"
|
||||
mediaType = "application/atom+xml"
|
||||
baseName = "index"
|
||||
isPlainText = false
|
||||
rel = "alternate"
|
||||
isHTML = false
|
||||
noUgly = true
|
||||
permalinkable = false
|
||||
|
||||
[outputFormats.AS2]
|
||||
name = "AS2"
|
||||
mediaType = "application/activity+json"
|
||||
baseName = "index"
|
||||
isPlainText = false
|
||||
rel = "alternate"
|
||||
isHTML = false
|
||||
noUgly = true
|
||||
permalinkable = false
|
||||
|
||||
[outputFormats.feedjson]
|
||||
name = "feedjson"
|
||||
mediaType = "application/feed+json"
|
||||
baseName = "feed"
|
||||
isPlainText = false
|
||||
rel = "alternate"
|
||||
isHTML = false
|
||||
noUgly = true
|
||||
permalinkable = false
|
||||
|
||||
|
||||
[outputs]
|
||||
section = ["JSON", "HTML", "RSS"]
|
||||
section = ["JSON", "HTML", "RSS", "Atom", "AS2", "feedjson"]
|
||||
page = ["HTML", "AMP"]
|
||||
|
||||
[[menu.main]]
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit a574a122a48cca0c5bd3cfdb31a238077538e245
|
||||
Subproject commit 8513bece813f972dae03fc7ca6344b1f20744839
|
Loading…
Reference in a new issue