fix: 404 + image optimization

This commit is contained in:
Cory Dransfeldt 2024-03-07 11:41:51 -08:00
parent 5dc95273ee
commit 0c6518cb1f
No known key found for this signature in database
4 changed files with 10 additions and 8 deletions

View file

@ -32,7 +32,11 @@
{%- capture loadingStrategy -%}
{%- if loading -%}{{ loading }}{%- else -%}lazy{%- endif -%}
{%- endcapture -%}
{% image item.image, alt, '', loadingStrategy, 320 %}
{% if shape == 'square' %}
{% image item.image, alt, '', loadingStrategy, 320 %}
{% else %}
{% image item.image, alt, '', loadingStrategy, 200 %}
{% endif %}
</div>
</a>
{% endfor %}