{% extends "_base.html" %} {% set work_selected = True %} {% set all_selected = False if no_all_selected else True %} {% set path = "work/" + (work_path or "all") %} {% block style %} {% endblock %} {% block main %} {% for image in (sorted(images(path), reverse=True) if sort_images else images(path)) %} {{ image.name }} / {{ image.year }} {{ image.category | lang }} {% for variant in image.filenames %} {% endfor %} {% endfor %} {% endblock %}