10 lines
460 B
JSON
10 lines
460 B
JSON
|
[
|
||
|
{{- range $index, $page := .Site.RegularPages -}}
|
||
|
{{- if gt $index 0 -}} , {{- end -}}
|
||
|
{{- $entry := dict "uri" $page.RelPermalink "title" $page.Title -}}
|
||
|
{{- $entry = merge $entry (dict "content" ($page.Plain | htmlUnescape)) -}}
|
||
|
{{- $entry = merge $entry (dict "description" $page.Description) -}}
|
||
|
{{- $entry = merge $entry (dict "categories" $page.Params.categories) -}}
|
||
|
{{- $entry | jsonify -}}
|
||
|
{{- end -}}
|
||
|
]
|