{{ range (.Paginate (.Pages.ByParam "last_name")).Pages }} {{ if .Slug }} {{ $slug := printf "/persons/%s" .Slug }} {{ $person := site.GetPage $slug }} {{ if $person }} {{ with $person }} {{ partial "persons/list-item" $person }} {{ end }} {{ end }} {{ end }} {{ end }}
{{ partial "commons/pagination.html" . }}