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 }}
|