11 lines
378 B
JSON
11 lines
378 B
JSON
|
[{{ range $index, $page := .Pages }}{{ if ne $index 0 }},{{ end }}
|
||
|
{
|
||
|
"ref": "{{ $page.Permalink }}",
|
||
|
"title": {{ $page.Title | jsonify }},
|
||
|
"section": "{{ $page.Section }}",
|
||
|
"tags": {{ $page.Params.tags | jsonify }},
|
||
|
"date" : {{ $page.Date.Format "2006.01.02" | jsonify }},
|
||
|
"body": {{ $page.Plain | jsonify }}
|
||
|
}
|
||
|
{{ end }}]
|