work.html 483 B

12345678910111213141516171819
  1. {% extends "_base.html" %}
  2. {% set work_selected = True %}
  3. {% set all_selected = False if no_all_selected else True %}
  4. {% set work_path = "work/all" %}
  5. {% block main %}
  6. {% for image in images(work_path) %}
  7. <figure>
  8. <img class="tile" src="{{ image.main or image.filenames[0] | static }}">
  9. <figcaption class="hbox">
  10. <div class="caption">
  11. <h1>{{ image.name }} / {{ image.year }}</h1>
  12. {{ image.category }}
  13. </div>
  14. </figcaption>
  15. </figure>
  16. {% endfor %}
  17. {% endblock %}