bizcochito.onion/templates/imagelist.njk

13 lines
375 B
Plaintext
Raw Normal View History

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