hugo-page-test/themes/tsc_vfl/layouts/partials/tsc/start-person.html

9 lines
231 B
HTML

<div class="person">
<div class="image">
{{- $person := . -}}
{{- with .Get "img" -}}
<img src="{{ . }}" {{ with $person.Get "name" }}alt="Bild {{ . }}"{{ end }}>
{{- end -}}
</div>