bizcochito.onion/templates/imagelist.njk

13 lines
375 B
Plaintext

{% macro images_list(image_list, height=31) %}
<div class="img">
{% for image in image_list %}
<a href="https://{{ image.url }}">
<img style="height:{{ height }}px;
width:auto"
src="static/icons/{{ image.folder }}/{{ image.name }}"
alt="{{ image.url }}" />
</a>
{% endfor %}
</div>
{% endmacro %}