Add thumbnailing for photo grids

This commit is contained in:
2026-04-23 20:43:05 +02:00
parent df41cfa8c8
commit 337ec9ef6e
8 changed files with 352 additions and 19 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
{{if .Photos}}
<div class="photo-grid">
{{range .Photos}}
<a href="{{.URL}}" target="_blank"><img src="{{.URL}}" alt="{{.Name}}" loading="lazy"></a>
<a href="{{.URL}}" target="_blank"><img src="{{.ThumbURL}}" alt="{{.Name}}" loading="lazy"></a>
{{end}}
</div>
{{end}}