have the json file build for single pages

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
jamesk-patch-1
Toshaan Bharvani 3 years ago
parent 1c41b2b176
commit 7d0cb77c99

@ -16,6 +16,7 @@ enableEmoji = true


[outputs] [outputs]
home = [ "HTML" , "JSON" , "RSS" ] home = [ "HTML" , "JSON" , "RSS" ]
page = [ "HTML" , "JSON" ]


[outputFormats] [outputFormats]
[outputFormats.RSS] [outputFormats.RSS]

@ -0,0 +1,5 @@
{
"title": "{{ .Title }}",
"permalink": "{{ .Permalink }}",
"content": "{{ .PlainWords }}"
}
Loading…
Cancel
Save