From 1c41b2b176535e498f6f6fcbf15631f63d480c00 Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Thu, 13 Jan 2022 05:39:18 +0100 Subject: [PATCH] add individual member json files Signed-off-by: Toshaan Bharvani --- config/_default/config.toml | 6 +----- themes/openpowerfoundation/layouts/members/single.json | 8 ++++++++ 2 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 themes/openpowerfoundation/layouts/members/single.json diff --git a/config/_default/config.toml b/config/_default/config.toml index 7a3a837..7d182a7 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -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] diff --git a/themes/openpowerfoundation/layouts/members/single.json b/themes/openpowerfoundation/layouts/members/single.json new file mode 100644 index 0000000..6444481 --- /dev/null +++ b/themes/openpowerfoundation/layouts/members/single.json @@ -0,0 +1,8 @@ +{ +"title": "{{ .Title }}", +"permalink": "{{ .Permalink }}", +"level": "{{ .Params.level }}", +"joined": "{{ .Params.joined }}", +"link": "{{ .Params.link }}", +"content": "{{ .PlainWords }}" +}