{{- $result := slice -}} {{- range .Site.RegularPages -}} {{- $data := dict "title" .Title "id" .File.UniqueID "url" .Permalink "path" .RelPermalink "section" .Section -}} {{- $result = $result | append $data -}} {{- end -}} {{ jsonify $result }}