have the json file build for single pages

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
remotes/1720744104865095624/master
Toshaan Bharvani 3 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