fix: 404 + image optimization
This commit is contained in:
parent
5dc95273ee
commit
0c6518cb1f
4 changed files with 10 additions and 8 deletions
|
@ -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 %}
|
||||
|
|
Reference in a new issue