11 lines
320 B
HTML
11 lines
320 B
HTML
|
<div class="gallery">
|
||
|
{% for asset in page.assets -%}
|
||
|
{%- if asset is matching("[.](jpg|png)$") -%}
|
||
|
{% set image = resize_image(path=asset, width=960, height=720, op="fit") %}
|
||
|
<a href="{{ get_url(path=asset) }}" target="_blank">
|
||
|
<img src="{{ image.url }}" />
|
||
|
</a>
|
||
|
{%- endif %}
|
||
|
{%- endfor %}
|
||
|
</div>
|