summaryrefslogtreecommitdiffstats
path: root/exampleSite/config.toml
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-07-03 23:53:41 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-07-04 09:09:04 +0200
commitfce52fd0cba815e564b8fbd996e6766337852274 (patch)
tree9ccc3de6cae67e9043aeb8b910204c5946ee9819 /exampleSite/config.toml
parentd9d692148f7e8cffe04128ba3026f3b6a70dc50b (diff)
downloadgohugo-theme-ed-fce52fd0cba815e564b8fbd996e6766337852274.tar.gz
Provide template to render pure JSON
Diffstat (limited to 'exampleSite/config.toml')
-rw-r--r--exampleSite/config.toml8
1 files changed, 4 insertions, 4 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 0660260..319e680 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -35,8 +35,8 @@ googleAnalytics = ''
disableXML = true
[outputs]
- home = [ 'HTML', 'Atom', 'FEED', 'JSON', 'MANIFEST', 'humanstxt' ]
- section = [ 'HTML', 'Atom', 'FEED', 'JSON' ]
+ home = [ 'HTML', 'Atom', 'FEED', 'JSONFEED', 'JSON', 'MANIFEST', 'humanstxt' ]
+ section = [ 'HTML', 'Atom', 'FEED', 'JSONFEED' ]
page = [ 'HTML' ]
taxonomy = [ 'HTML' ]
term = [ 'HTML' ]
@@ -73,8 +73,8 @@ googleAnalytics = ''
permalinkable = false
# For more see: https://www.jsonfeed.org/
-[outputFormats.JSON]
- name = 'Json'
+[outputFormats.JSONFEED]
+ name = 'JsonFeed'
mediaType = 'application/feed+json'
baseName = 'feeds/feed'
rel = 'alternate'