From 0751a25b764de6831837ad2f2cdd57b5d51f930d Mon Sep 17 00:00:00 2001 From: madmax-codewarrior-0 <58088316+madmax-codewarrior-0@users.noreply.github.com> Date: Thu, 23 Feb 2023 14:51:26 -0800 Subject: [PATCH] Update initial info to be more concise/less redundant from form options --- .../layouts/hub/single.html | 90 ++++++++----------- 1 file changed, 39 insertions(+), 51 deletions(-) diff --git a/themes/openpowerfoundation/layouts/hub/single.html b/themes/openpowerfoundation/layouts/hub/single.html index 1276784..95345f5 100644 --- a/themes/openpowerfoundation/layouts/hub/single.html +++ b/themes/openpowerfoundation/layouts/hub/single.html @@ -11,7 +11,7 @@
{{ if .Param "member" }} - Provider :  +

Provider :  {{ $member := .Param "member" }} {{ range where .Site.RegularPages "Section" "members" }} {{ $membercompany := .File.BaseFileName }} @@ -33,61 +33,49 @@ {{ end }} {{ end }} - {{ end }} + {{ end }}

{{ end }}
- {{ if .Param "systems" }} -
- POWER Based systems : - -
- {{ end }} - {{ if .Param "provides" }} -
- Provides following OPF HUB resources : - -
- {{ end }} -
 
- {{ if .Param "addons" }} -
- Resource Addons : - -
- {{ end }} +
+ {{ if .Param "systems" }} +

POWER Based systems :

+ + {{ end }} + {{ if .Param "provides" }} +

Provides these OPF HUB resources :

+ + {{ end }} +
+
{{ if .Param "projects" }} -
- Project Types : -
    - {{ range $o := .Param "projects" }} -
  • {{ $o }}
  • - {{ end }} -
-
+

Project Types :

+ + {{ else }} +   {{ end }} -
 
- {{ if .Param "operatingsystems" }} -
- Operating Systems : -
    - {{ range $s := .Param "operatingsystems" }} -
  • {{ $s }}
  • - {{ end }} -
-
+ {{ if .Param "addons" }} +

Resource Addons :

+ {{ end }} +
{{ if .Content }}