hugo-theme-lowtech/layouts/_default/list.json.json

8 lines
145 B
JSON

{{ define "response" }}
[
{{ range $index, $e := .Data.Pages }}
{{ if $index }}, {{ end }}{{ .Render "item" }}
{{ end }}
]
{{ end }}