zola/docs/templates/shortcodes/gallery.html
2018-06-25 18:05:49 +02:00

7 lines
184 B
HTML

{% for img in page.images %}
<a href="{{ config.base_url }}/{{ img }}">
<img src="{{ resize_image(path=img, width=240, height=180, op="fill") }}" />
</a>
&ensp;
{% endfor %}