sarsooxyz.pyreact/templates/art.html

18 lines
453 B
HTML
Raw Normal View History

{% extends 'base.html' %}
2019-02-18 23:20:19 +00:00
{% block title %}art{% endblock %}
{% block content %}
2019-02-18 23:20:19 +00:00
{% for image in images %}
{% if loop.index0 % 3 == 0 %}<div class="row">{% endif %}
2019-02-17 14:10:42 +00:00
<div class="card col-pad-4">
2019-02-18 23:20:19 +00:00
<img src="{{ staticroot }}art/{{ image.file_name }}.jpg" alt="{{ image.file_name }}" class="col-pad-4">
<p><b>{{ image.description }}</b></p>
2019-02-17 14:10:42 +00:00
</div>
2019-02-18 23:20:19 +00:00
{% if loop.index % 3 == 0 or loop.last %}</div>{% endif %}
2019-02-17 14:10:42 +00:00
2019-02-18 23:20:19 +00:00
{% endfor %}
{% endblock %}