Create person templates

This commit is contained in:
2023-01-19 21:05:28 +01:00
parent 363a705370
commit 3702f4631c
6 changed files with 63 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
<div class="person">
<div class="image">
{{- $person := . -}}
{{- with .Get "img" -}}
<img src="{{ . }}" {{ with $person.Get "name" }}alt="Bild {{ . }}"{{ end }}>
{{- end -}}
</div>