{ "posts": [ {{- range $i, $page := .Pages -}} {{- if $i -}} , {{- end -}} { "title": {{ $page.Title | jsonify }} } {{- end -}} ] }