have the json file build for single pages

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

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

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

[outputFormats]
[outputFormats.RSS]

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