diff --git a/layouts/shortcodes/summary-bar.html b/layouts/shortcodes/summary-bar.html index 523bf65e68..1075e61d69 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 }}