mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-13 20:47:30 -05:00
10 lines
327 B
JSON
10 lines
327 B
JSON
|
[{{ range $index, $page := .Pages }}{{ if ne $index 0 }},{{ end }}
|
||
|
{
|
||
|
"ref": "{{ $page.Permalink }}",
|
||
|
"title": {{ $page.Title | jsonify }},
|
||
|
"section": "{{ $page.Section }}",
|
||
|
"date" : {{ $page.Date.Format "2006.01.02" | jsonify }},
|
||
|
"body": {{ $page.Plain | jsonify }}
|
||
|
}
|
||
|
{{ end }}]
|