mirror of
https://github.com/arabine/open-story-teller.git
synced 2025-12-07 01:15:14 +01:00
13 lines
379 B
JSON
13 lines
379 B
JSON
[{{ range $index, $page := .Site.Pages }}
|
|
{{- if and (ne $page.Type "json") (ne $page.Type "html") -}}
|
|
{{- if and $index (gt $index 0) -}},{{- end }}
|
|
{
|
|
"uri": "{{ $page.Permalink }}",
|
|
"title": {{ $page.Title | jsonify }},
|
|
"tags": {{ $page.Params.tags | jsonify }},
|
|
"description": {{ .Description | jsonify }},
|
|
"content": {{$page.Plain | jsonify}}
|
|
}
|
|
{{- end -}}
|
|
{{- end -}}]
|