sarsooxyz.pyreact/templates/art.html
2019-02-18 23:20:19 +00:00

18 lines
453 B
HTML

{% extends 'base.html' %}
{% block title %}art{% endblock %}
{% block content %}
{% for image in images %}
{% if loop.index0 % 3 == 0 %}<div class="row">{% endif %}
<div class="card col-pad-4">
<img src="{{ staticroot }}art/{{ image.file_name }}.jpg" alt="{{ image.file_name }}" class="col-pad-4">
<p><b>{{ image.description }}</b></p>
</div>
{% if loop.index % 3 == 0 or loop.last %}</div>{% endif %}
{% endfor %}
{% endblock %}