feat: add /images image listing page

This commit is contained in:
Jef Roosens 2025-01-24 20:15:28 +01:00
parent 39a15bb094
commit fc02399e78
Signed by: Jef Roosens
GPG key ID: 21FD3D77D56BAF49
3 changed files with 38 additions and 5 deletions

View file

@ -0,0 +1,10 @@
<h1>Images</h1>
{% for image in images %}
<article>
<p>Date taken: {{ image.date_taken }}</p>
<p>Note: {{ image.note }}</p>
<a href="/images/{{ image.id }}/original" target="_blank">
<img src="/images/{{ image.id }}/thumb">
</a>
</article>
{% endfor %}