9 lines
263 B
HTML
9 lines
263 B
HTML
{% for asset in page.assets -%}
|
|
{%- if asset is ending_with(".jpg") -%}
|
|
<a href="{{ get_url(path=asset) | safe }}">
|
|
<img src="{{ resize_image(path=asset, width=240, height=180, op="fill") | safe }}" />
|
|
</a>
|
|
 
|
|
{%- endif %}
|
|
{%- endfor %}
|