Pulp modifications as shown at brandonrozek.com

This commit is contained in:
Brandon Rozek 2020-01-15 22:07:43 -05:00
parent 997422cd16
commit 74b08eaf7a
10 changed files with 82 additions and 17 deletions

9
layouts/blog/list.json Normal file
View file

@ -0,0 +1,9 @@
[{{ 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 }}]