Browse Source

add individual member json files

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
jamesk-patch-1
Toshaan Bharvani 1 year ago
parent
commit
1c41b2b176
  1. 6
      config/_default/config.toml
  2. 8
      themes/openpowerfoundation/layouts/members/single.json

6
config/_default/config.toml

@ -15,11 +15,7 @@ disableHugoGeneratorInject = false @@ -15,11 +15,7 @@ disableHugoGeneratorInject = false
enableEmoji = true

[outputs]
home = [ "HTML", "JSON" , "RSS" ]
members = [ "HTML", "JSON", "RSS" ]
specifications = [ "HTML", "JSON" ]
ready = [ "HTML", "JSON" ]
schedule = [ "HTML", "Calendar" , "RSS" ]
home = [ "HTML" , "JSON" , "RSS" ]

[outputFormats]
[outputFormats.RSS]

8
themes/openpowerfoundation/layouts/members/single.json

@ -0,0 +1,8 @@ @@ -0,0 +1,8 @@
{
"title": "{{ .Title }}",
"permalink": "{{ .Permalink }}",
"level": "{{ .Params.level }}",
"joined": "{{ .Params.joined }}",
"link": "{{ .Params.link }}",
"content": "{{ .PlainWords }}"
}
Loading…
Cancel
Save