Add RelPermalink to pics

This commit is contained in:
dolphinau 2026-01-07 22:34:05 +01:00
parent 7a81623c3b
commit 541221b04a
14 changed files with 14 additions and 29 deletions

View file

@ -2,5 +2,18 @@
<a href="/{{ .Params.concertLink }}">
<h2>{{ .Title }}</h2>
</a>
{{ .Content }}
<div class="galerie-table">
{{ range .Resources.ByType "image" }}
<a href="{{ .RelPermalink }}">
<div class="galerie-entry">
<img
class="galerie-image"
src="{{ .RelPermalink }}"
alt="Photo du concert {{ .Title }} - {{ .Name }}"
/>
</div>
</a>
{{ end }}
</div>
</div>