{% extends "_base.html" %}

{% set work_selected = True %}
{% set all_selected = False if no_all_selected else True %}
{% set work_path = "work/all" %}

{% block main %}
{% for image in images(work_path) %}
	<figure>
		<img class="tile" src="{{ image.main or image.filenames[0] | static }}">
		<figcaption class="hbox">
			<div class="caption">
				<h1>{{ image.name }} / {{ image.year }}</h1>
				{{ image.category }}
			</div>
		</figcaption>
	</figure>
{% endfor %}
{% endblock %}