illustration.html 525 B

1234567891011121314151617181920212223
  1. {% extends "_work_no_all.html"%}
  2. {% set illustration_selected = True %}
  3. {% set work_path = "work/illustration" %}
  4. {% block main %}
  5. <style>
  6. :root {
  7. --columns: 3;
  8. }
  9. </style>
  10. {% for image in sorted(images("work/illustration"), reverse=True) %}
  11. <figure>
  12. <img class="tile" src="{{ (image.main or image.filenames[0]) | static }}">
  13. <figcaption class="hbox">
  14. <div class="caption">
  15. <h1>{{ image.name }} / {{ image.year }}</h1>
  16. {{ image.category }}
  17. </div>
  18. </figcaption>
  19. </figure>
  20. {% endfor %}
  21. {% endblock %}