Fix display of persons

This commit is contained in:
2023-01-20 15:31:30 +01:00
parent e0946e6c59
commit a025961ad5
4 changed files with 14 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
<div class="image">
{{- $param := . -}}
{{- with .image -}}
<img src="{{ .RelPermalink }}" {{ with $param.name }}alt="Bild {{ . }}"{{ end }}>
<img src="{{ . }}" {{ with $param.name }}alt="Bild {{ $param.name }}"{{ end }}>
{{- end -}}
</div>