diff --git a/assets/images/technical/promo.jpg b/assets/images/technical/promo.jpg new file mode 100644 index 0000000..a831741 Binary files /dev/null and b/assets/images/technical/promo.jpg differ diff --git a/content/technical/_index.md b/content/technical/_index.md new file mode 100644 index 0000000..26f1a40 --- /dev/null +++ b/content/technical/_index.md @@ -0,0 +1,8 @@ +--- +title: Technical Outputs +image: promo.jpg +date: 2022-01-09 +draft: false +--- + +These are the technical outputs from the OpenPOWER Foundation. diff --git a/content/technical/compliance.md b/content/technical/compliance.md new file mode 100644 index 0000000..09a3031 --- /dev/null +++ b/content/technical/compliance.md @@ -0,0 +1,8 @@ +--- +title: Compliance Specifications +link: /compliance/ +weight: -8000 +image: +date: 2022-01-09 +draft: false +--- diff --git a/content/technical/ready.md b/content/technical/ready.md new file mode 100644 index 0000000..3569677 --- /dev/null +++ b/content/technical/ready.md @@ -0,0 +1,8 @@ +--- +title: OpenPOWER Ready Catalogue +link: /ready/ +weight: -6000 +image: +date: 2022-01-09 +draft: false +--- diff --git a/content/technical/resources.md b/content/technical/resources.md new file mode 100644 index 0000000..2358d3f --- /dev/null +++ b/content/technical/resources.md @@ -0,0 +1,8 @@ +--- +title: OpenPOWER Related Resources +link: /resources/ +image: +weight: -6000 +date: 2012-01-09 +draft: false +--- diff --git a/content/technical/specifications.md b/content/technical/specifications.md new file mode 100644 index 0000000..f21c7ac --- /dev/null +++ b/content/technical/specifications.md @@ -0,0 +1,8 @@ +--- +title: Technical Specifications +link: /specifications/ +weight: -9000 +image: +date: 2022-01-09 +draft: false +--- diff --git a/themes/openpowerfoundation/layouts/technical/list.html b/themes/openpowerfoundation/layouts/technical/list.html new file mode 100644 index 0000000..0ff9528 --- /dev/null +++ b/themes/openpowerfoundation/layouts/technical/list.html @@ -0,0 +1,76 @@ +{{ partial "header.html" . }} +{{ partial "navbar.html" . }} +{{ $publicreview := slice }} +{{ range where .Site.RegularPages "Section" "specifications" }} + {{ if .Param "publicreview" }} + {{ $reviewenddate := .Date.AddDate 0 0 30 }} + {{ if lt now $reviewenddate }} + {{ $publicreview = $publicreview | append (printf "%s/%s" "specifications" .File.BaseFileName) }} + {{ end }} + {{ end }} +{{ end }} +{{ range where .Site.RegularPages "Section" "compliance" }} + {{ if .Param "publicreview" }} + {{ $reviewenddate := .Date.AddDate 0 0 30 }} + {{ if lt now $reviewenddate }} + {{ $publicreview = $publicreview | append (printf "%s/%s" "compliance" .File.BaseFileName) }} + {{ end }} + {{ end }} +{{ end }} +{{ $promobackgroundimagename := .Param "image" }} +{{ $promobackgroundimagelocation := (printf "%s/%s" "images/technical/" $promobackgroundimagename) }} +{{ $promobackgroundimageresource := resources.Get $promobackgroundimagelocation }} +{{ $promobackgroundimage := $promobackgroundimageresource.Resize "1440x820 webp" }} +
+
+
+

{{ .Title }}

+
+
+
+
+
+
+
 
+
{{ .Content }}
+
 
+
+
+ {{ range .Data.Pages }} + {{ $imagename := .Param "image" }} + {{ $imagelocation := (printf "%s/%s" "images/groups/" $imagename) }} + {{ $imageresource := resources.Get $imagelocation }} +
+ {{ if $imageresource }} +
+ {{ $image := $imageresource.Fit "390x390 webp" }} + +
+ {{ end }} + {{ .Title }} +
+ {{ end }} +
+ {{ if ne (len $publicreview) 0 }} +
+
 
+

Technical Documents in Public Review

+
 
+
+
+
 
+
+
    + {{ range $prp := $publicreview }} + {{ with $.Site.GetPage $prp }} +
  • {{ .Title }} + {{ end }} + {{ end }} +
+
+
 
+
+ {{ end }} +
+
+{{ partial "footer.html" . }}