<div class="grid-team-members-small-photos"> {{ range $key,$val := .Scratch.Get "active_members" }} {{ with (index $.Site.Data.personen .) }} <div> {{ if .thumbnail }} {{ $image := replace .thumbnail "200x200" "150x150" }} {{ $alttext := printf "Foto van %s" .name }} {{ partial "show-image.html" (dict "context" . "image" $image "alt" $alttext "figcaption" .name "link" .profile_page) }} {{ end }} </div> {{ end }} {{ end }} </div>