12 lines
388 B
HTML
12 lines
388 B
HTML
|
<div class="no-prose">
|
||
|
{% for asset in page.assets -%}
|
||
|
{%- if asset is matching(name) -%}
|
||
|
{% set image = resize_image(path=asset, height=320, op="fit_height") %}
|
||
|
{% set full_image = resize_image(path=asset, width=1024, height=1024, op="fit") %}
|
||
|
<a href="{{ full_image.url }}" target="_blank">
|
||
|
<img src="{{ image.url }}" />
|
||
|
</a>
|
||
|
{%- endif %}
|
||
|
{%- endfor %}
|
||
|
</div>
|