From 69497e53d6796ac82fb7c117b7ddec4010f456ed Mon Sep 17 00:00:00 2001 From: John Mertic Date: Fri, 6 Dec 2024 11:46:26 -0500 Subject: [PATCH] Fix OpenAPI site render Signed-off-by: John Mertic --- _includes/openapiwebsite.html | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/_includes/openapiwebsite.html b/_includes/openapiwebsite.html index 56f6a82..c0d4253 100644 --- a/_includes/openapiwebsite.html +++ b/_includes/openapiwebsite.html @@ -4,7 +4,15 @@

{% for committee_member in include.committee_members %} {%- capture tablet_column_break -%}{{ forloop.index0 | modulo:2 }}{%- endcapture -%} {%- capture desktop_column_break -%}{{ forloop.index0 | modulo:3 }}{%- endcapture -%} - {%- unless forloop.first and desktop_column_break != "0" -%} + + {%- unless forloop.first or desktop_column_break != "0" -%} {%- endunless -%} {%- if forloop.first or tablet_column_break == "0" -%} @@ -34,13 +42,12 @@

+ {%- if forloop.last -%}{%- if desktop_column_break == "0" and !forloop.first -%} + {%- endif -%}{%- endif -%} {%- if forloop.last -%}
{%- endif -%} - {%- if forloop.last or desktop_column_break == "0" -%} - - {%- endif -%} {%- endfor -%}