Create person templates
This commit is contained in:
3
themes/tsc_vfl/layouts/shortcodes/tsc/person-list.html
Normal file
3
themes/tsc_vfl/layouts/shortcodes/tsc/person-list.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<div class="person-list">
|
||||
{{- .Inner -}}
|
||||
</div>
|
||||
11
themes/tsc_vfl/layouts/shortcodes/tsc/vorstand.html
Normal file
11
themes/tsc_vfl/layouts/shortcodes/tsc/vorstand.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{{ partial "tsc/start-person" . }}
|
||||
<div class="content content-vorstand">
|
||||
<div class="role">{{ .Get "role" }}</div>
|
||||
<div class="name">
|
||||
{{ with .Get "mail" }}
|
||||
<a href="mailto:{{ . }}"><img src="/img/mail.jpg" class="mail-icon"></a>
|
||||
{{ end }}
|
||||
{{ .Get "name" }}
|
||||
</div>
|
||||
</div>
|
||||
{{ partial "tsc/end-person" . }}
|
||||
Reference in New Issue
Block a user