Create person templates
This commit is contained in:
8
themes/tsc_vfl/layouts/partials/tsc/start-person.html
Normal file
8
themes/tsc_vfl/layouts/partials/tsc/start-person.html
Normal 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>
|
||||
|
||||
Reference in New Issue
Block a user