Verbeterde weergave sprekers
This commit is contained in:
parent
06e0bf0160
commit
1ec637828e
2 changed files with 17 additions and 5 deletions
|
@ -6,11 +6,10 @@
|
|||
<div>
|
||||
{{ $count := .Params.speakers | len }}
|
||||
<h2>{{ i18n "speaker" (dict "Count" $count) | strings.FirstUpper }}</h2>
|
||||
{{ range $person := .Params.speakers }}
|
||||
{{ with (index site.Data.personen $person) }}
|
||||
{{ partial "show-image-of-person.html" (dict "context" . "profile_details" . "add_link_to_image" true) }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<section>
|
||||
{{ .Scratch.Set "related_speakers" .Params.speakers }}
|
||||
{{ partial "show-speakers-small.html" . }}
|
||||
</section>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue