1
0

Update template lists

This commit is contained in:
Siroco 2020-10-23 16:22:12 +02:00
parent 99e8853b7f
commit 2f6bb07748
4 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{
"name": "{{ .Slug }}",
"title": "{{ .Title }}",
"title": "{{ .Permalink }}",
"permalink": "{{ .Permalink }}",
"featuredImage": "{{ .Params.featuredImage }}",
"featuredVideo": "{{ .Params.featuredVideo }}",
"n":"{{ .Params.n }}",

View File

@ -1,5 +1,6 @@
{
"name": "{{ .Slug }}",
"title": "{{ .Title }}",
"permalink": "{{ .Permalink }}"
"permalink": "{{ .Permalink }}",
"content": "{{ .Content | jsonify }}"
}

View File

@ -3,7 +3,7 @@
{{ with .Section }}"section" : "{{ . }}",{{ end }}
"count" : "{{ len .Data.Pages }}",
"items" : [{{ range $i, $e := .Data.Pages }}
{{ if $i }}, {{ end }}{{ .Render "item_reduced" }}
{{ if $i }}, {{ end }}{{ .Render "item" }}
{{ end }}]
}
{{ end }}