{{ range $post := .posts -}} {{ with site.GetPage (printf "/posts/%s" $post) }} {{ partial "posts/post" . }} {{ end }} {{ end }}