poster.html 613 B

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