Toevoegen foto's en informatie sprekers
This commit is contained in:
parent
8e8e67364f
commit
f308acfe7e
4 changed files with 61 additions and 0 deletions
14
themes/nluug/layouts/evenementen/speakers.html
Normal file
14
themes/nluug/layouts/evenementen/speakers.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
|
||||
<h2>Sprekers</h2>
|
||||
{{ range $key,$val := $.Site.Data.personen }}
|
||||
{{ if eq $val.speaker true }}
|
||||
<h3>» {{ .name }}</h3>
|
||||
{{ partial "show-image-of-person.html" (dict "context" . "profile_details" $val "hide_figcaption" true) }}
|
||||
{{ $firstname := index (split .name " ") 0 }}
|
||||
{{ if .profile_page }}<a href="{{ .profile_page }}">Meer over {{ $firstname }}</a>{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue