feat: configurable loading strategy

This commit is contained in:
Cory Dransfeldt 2023-08-14 14:44:21 -07:00
parent c3eea75802
commit 5b485bcbd9
No known key found for this signature in database
2 changed files with 6 additions and 6 deletions

View file

@ -21,7 +21,7 @@
{% endif %}
</div>
{%- capture size %}{% if shape == 'square' %}225px{% else %}180px{% endif %}{% endcapture -%}
{% image item.image, alt, 'rounded-lg w-full h-full', size %}
{% image item.image, alt, 'rounded-lg w-full h-full', size, loading %}
</div>
</a>
{% endfor %}