zola/docs/templates/shortcodes/gallery.html

9 lines
244 B
HTML
Raw Normal View History

2018-06-23 14:38:53 +00:00
{% for asset in page.assets %}
{% if asset is ending_with(".jpg") %}
<a href="{{ get_url(path=asset) }}">
<img src="{{ resize_image(path=asset, width=240, height=180, op="fill") }}" />
</a>
&ensp;
{% endif %}
2018-02-02 20:35:04 +00:00
{% endfor %}