diff --git a/assets/images/groups/promo.jpg b/assets/images/groups/promo.jpg new file mode 100644 index 0000000..2866fb8 Binary files /dev/null and b/assets/images/groups/promo.jpg differ diff --git a/content/groups/_index.md b/content/groups/_index.md index 0d23ff7..b191f6d 100644 --- a/content/groups/_index.md +++ b/content/groups/_index.md @@ -1,9 +1,11 @@ --- title: 'Workgroup Overview' -date: 2021-03-06 +image: promo.jpg +promo: + header: Our Working Groups + p: + - A Technical Workgroup (TWG) is a workgroup that provides technical specifications and will help define next-generation of the specifications, definitions, and the compliance of these specifications with primary output being specification documents. + - A Special Integration Group (SIG) is a workgroup that provides an implementation of technical specifications with the goal to produce reference designs. A SIG will normally provide a reference design, a finished product, or help maintain project for direct usage. +date: 2022-01-03 draft: false - -promo-h1: Our Working Groups -promo-p1: A Technical Workgroup (TWG) is a workgroup that provides technical specifications and will help define next-generation of the specifications, definitions, and the compliance of these specifications with primary output being specification documents. -promo-p2: A Special Integration Group (SIG) is a workgroup that provides an implementation of technical specifications with the goal to produce reference designs. A SIG will normally provide a reference design, a finished product, or help maintain project for direct usage. --- diff --git a/themes/openpowerfoundation/assets/css/groups.scss b/themes/openpowerfoundation/assets/css/groups.scss index c37d3a5..e3dc0b2 100644 --- a/themes/openpowerfoundation/assets/css/groups.scss +++ b/themes/openpowerfoundation/assets/css/groups.scss @@ -5,12 +5,10 @@ main { padding-top:50px; padding-bottom: 40px; } - @media screen and (min-width: $lg) and (max-width: $xl) { padding-top:70px; padding-bottom: 40px; } - @media screen and (min-width: $xl) { padding-bottom: 50px; } @@ -45,4 +43,4 @@ main { } #workgroupsingle { -} \ No newline at end of file +} diff --git a/themes/openpowerfoundation/layouts/groups/list.html b/themes/openpowerfoundation/layouts/groups/list.html index 6befb59..4f1c34b 100644 --- a/themes/openpowerfoundation/layouts/groups/list.html +++ b/themes/openpowerfoundation/layouts/groups/list.html @@ -1,95 +1,39 @@ {{ partial "header.html" . }} - {{ partial "navbar.html" . }} - -{{ partial "groups-promo.html" . }} - -
-
-
- {{ range (.Data.Pages.ByParam "wgtype").Reverse }} - {{ $imagename := .Param "image" }} - {{ $imagelocation := (printf "%s/%s" "images/" $imagename) }} - {{ $imageresource := resources.Get $imagelocation }} -
- {{ if $imageresource }} -
- {{ $image := $imageresource.Fit "390x390" }} - -
- {{ end }} - - {{ .Title }} -
- - {{ end }} - -
-
-
- - +
+
+
+ {{ range (.Data.Pages.ByParam "wgtype").Reverse }} + {{ $imagename := .Param "image" }} + {{ $imagelocation := (printf "%s/%s" "images/" $imagename) }} + {{ $imageresource := resources.Get $imagelocation }} +
+ {{ if $imageresource }} +
+ {{ $image := $imageresource.Fit "390x390 webp" }} + +
+ {{ end }} + {{ .Title }} +
+ {{ end }} +
+
+
{{ partial "footer.html" . }} diff --git a/themes/openpowerfoundation/layouts/groups/single.html b/themes/openpowerfoundation/layouts/groups/single.html index d987275..75b77e1 100644 --- a/themes/openpowerfoundation/layouts/groups/single.html +++ b/themes/openpowerfoundation/layouts/groups/single.html @@ -1,9 +1,6 @@ {{ partial "header.html" . }} - {{ partial "navbar.html" . }} -
-
@@ -133,7 +130,5 @@
-
- {{ partial "footer.html" . }} diff --git a/themes/openpowerfoundation/layouts/partials/groups-promo.html b/themes/openpowerfoundation/layouts/partials/groups-promo.html deleted file mode 100644 index d018a7f..0000000 --- a/themes/openpowerfoundation/layouts/partials/groups-promo.html +++ /dev/null @@ -1,12 +0,0 @@ -
-
-
-
-

{{ .Param "promo-h1" }}

-

{{ .Param "promo-p1" | safeHTML }}

-

{{ .Param "promo-p2" | safeHTML }}

-
-
-
-
\ No newline at end of file