2021-07-03 10:30:48 +01:00
|
|
|
{{- $result := slice -}}
|
|
|
|
|
|
|
|
{{- range (where .Site.RegularPages "Section" "!=" "") -}}
|
2021-08-05 22:33:35 +01:00
|
|
|
{{- $data := dict "title" .Title "content" .Plain "id" .File.UniqueID -}}
|
2021-07-03 10:30:48 +01:00
|
|
|
{{- $result = $result | append $data -}}
|
|
|
|
{{- end -}}
|
|
|
|
|
|
|
|
{{ jsonify $result }}
|