<div class="locations locations--{{- site.Params.locations.index.layout -}}">
  {{ range .Paginator.Pages }}
    {{ partial "locations/location.html" (dict 
        "location" .
        "heading" "h2"
      ) }}
  {{ end }}
</div>