From 2d3e98d88d1a7fd9bd70140ca0eb3eb6c8a20c94 Mon Sep 17 00:00:00 2001 From: Sean Holung Date: Fri, 27 Sep 2024 16:49:30 -0700 Subject: [PATCH] fix layout issues --- layouts/compliance/list.html | 53 +++++++++++++++++++----------------- 1 file changed, 28 insertions(+), 25 deletions(-) diff --git a/layouts/compliance/list.html b/layouts/compliance/list.html index ba4a2f8b9c90..c25f3032fa87 100644 --- a/layouts/compliance/list.html +++ b/layouts/compliance/list.html @@ -18,33 +18,36 @@ {{ $frameworks := index .Site.Data.compliance "pages" }} {{ range $framework := $frameworks.frameworks }} - {{ $pages := where $pagelist "Params.framework" $framework.framework }} - - {{ if $pages }} - {{ range $pages }} - {{ if eq .Params.page_type "cloud" }} -
-
-

{{ $framework.framework }} Compliance for {{ .Params.cloud - }} -

-

- {{ .Params.description }} -

-

Learn more about how Pulumi can help your AWS services to meet {{ $framework.framework }} compliance:

-
- {{ else }} -
-
- - {{ .Params.service }} + {{ $pages := where $pagelist "Params.framework" $framework.framework }} + {{ $resourcePages := where $pages "Params.page_type" "service" }} + {{ if $pages }} + {{ range $pages }} + {{ if eq .Params.page_type "cloud" }} +
+
+

{{ $framework.framework }} Compliance for {{ .Params.cloud + }} +

+

+ {{ .Params.description }} +

+

Learn more about how Pulumi can help your AWS services to meet {{ $framework.framework }} compliance:

+
+ {{ range $resourcePages }} + + {{ end }} +
-
- {{ end }} - {{ end }} -
- {{ end }} +
+ {{ end }} + {{ end }} {{ end }} + {{ end }}