From ee6fcafcdb83108b0eab3a66376f0ffb1aa94070 Mon Sep 17 00:00:00 2001 From: Sarah Sanders Date: Tue, 11 Mar 2025 09:33:10 -0400 Subject: [PATCH] summary bar fix --- layouts/shortcodes/summary-bar.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/layouts/shortcodes/summary-bar.html b/layouts/shortcodes/summary-bar.html index 523bf65e68e8..1075e61d696a 100644 --- a/layouts/shortcodes/summary-bar.html +++ b/layouts/shortcodes/summary-bar.html @@ -23,10 +23,10 @@
{{ with $feature.subscription }} -
- Subscription: +
+ Subscription: {{ range . }} - {{ . }} + {{ . }} {{ $icon := index $subscriptionIcons . }} {{ if $icon }} @@ -41,9 +41,9 @@ {{ with $feature.availability }} {{ $availabilityText := . }} -
- Availability: - +
+ Availability: + {{ $availabilityText }} {{ range $key, $icon := $availabilityIcons }} {{ if in $availabilityText $key }} @@ -55,9 +55,9 @@ {{ end }} {{ with $feature.requires }} -
- Requires: - {{ . | markdownify }} +
+ Requires: + {{ . | markdownify }} {{ partial "icon" $requiresIcon }} @@ -65,9 +65,9 @@ {{ end }} {{ with $feature.for }} -
- For: - {{ . }} +
+ For: + {{ . }} {{ partial "icon" $forIcon }}