|
@@ -8,7 +8,7 @@
|
|
|
{% endblock %}
|
|
|
|
|
|
{% block main %}
|
|
|
-{% for image in images(path) %}
|
|
|
+{% for image in (sorted(images(path), reverse=True) if sort_images else images(path)) %}
|
|
|
<figure class="{{ 'clickable-fig' if expand_dialog else ''}}">
|
|
|
<img class="tile" src="{{ (image.main or image.filenames[0]) | static }}" alt="{{ image.category }}: {{ image.name }} ({{ image.year }})">
|
|
|
<figcaption class="hbox">
|