{%- assign loadingStrategy = loading | default:"lazy" -%} {%- for item in data limit:count -%} {%- assign alt = item.grid.alt | replaceQuotes -%} {%- assign imageUrl = item.grid.image -%}
{%- if item.grid.title or item.grid.subtext -%}
{% if item.grid.title %}
{{ item.grid.title }}
{% endif %} {% if item.grid.subtext %}
{{ item.grid.subtext }}
{% endif %}
{%- endif -%} {%- assign imageClass = "square" -%} {%- assign width = 150 -%} {%- assign height = 150 -%} {%- case shape -%} {%- when "vertical" -%} {%- assign imageClass = "vertical" -%} {%- assign width = 120 -%} {%- assign height = 184 -%} {%- endcase -%} {{ alt }}
{%- endfor -%}
{% render "static/nav/paginator.liquid", pagination:pagination %}