diff --git a/src/_includes/partials/now/media-grid.liquid b/src/_includes/partials/now/media-grid.liquid index 031cdd62..9dd59043 100644 --- a/src/_includes/partials/now/media-grid.liquid +++ b/src/_includes/partials/now/media-grid.liquid @@ -13,8 +13,8 @@
{% for item in media limit: count %} - {% assign alt = item.alt | strip %} - + {% assign alt = item.alt | strip | escape %} +
{% if item.subtext %}
{% endif %}
@@ -31,11 +31,7 @@ {% endif %}
{%- capture loadingStrategy -%} - {%- if loading -%} - {{ loading }} - {%- else -%} - 'lazy' - {%- endif -%} + {%- if loading -%}{{ loading }}{%- else -%}lazy{%- endif -%} {%- endcapture -%} {% image item.image, alt, '', loadingStrategy %}