1
4
Fork 1

Obrázek v receptu odkazuje na zdrojový obrázek

master
Emil Miler 5 years ago
parent 726644c1d8
commit 54ac1a865f

@ -9,7 +9,7 @@
<hr> <hr>
{% for asset in page.assets %} {% for asset in page.assets %}
{% if asset is matching("[img.](jpg|png)$") %} {% if asset is matching("[img.](jpg|png)$") %}
<img src="{{ resize_image(path=asset, width=900, height=400, op="fill") }}" alt="Náhled"> <a href="/{{ asset }}"><img src="{{ resize_image(path=asset, width=900, height=400, op="fill") }}" alt="Náhled"></a>
{% break %} {% break %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}

Loading…
Cancel
Save