From fce52fd0cba815e564b8fbd996e6766337852274 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 3 Jul 2022 23:53:41 +0200 Subject: Provide template to render pure JSON --- exampleSite/config.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'exampleSite/config.toml') 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' -- cgit v1.2.3