1
0
beire-hugo/themes/api-theme/layouts/_default/list.api.json

10 lines
231 B
JSON
Raw Normal View History

2020-10-21 12:47:37 +02:00
{{ define "response" }}
2020-10-23 01:59:38 +02:00
{
{{ with .Section }}"section" : "{{ . }}",{{ end }}
"count" : "{{ len .Data.Pages }}",
"items" : [{{ range $i, $e := .Data.Pages }}
{{ if $i }}, {{ end }}{{ .Render "item_reduced" }}
{{ end }}]
}
2020-10-21 12:47:37 +02:00
{{ end }}