update index.json
This commit is contained in:
parent
8191679266
commit
9083f3aba7
@ -10,12 +10,8 @@
|
|||||||
"id": "{{ .Permalink }}",
|
"id": "{{ .Permalink }}",
|
||||||
"url": "{{ .Permalink }}",
|
"url": "{{ .Permalink }}",
|
||||||
"content_text": {{ .Plain | jsonify }},
|
"content_text": {{ .Plain | jsonify }},
|
||||||
"date_published": "{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}",
|
"date_published": "{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}"
|
||||||
{{- if .Params.tags }}
|
}{{ if not (last .Pages.ByDate.Reverse .) }},{{ end }}
|
||||||
"tags": {{ .Params.tags | jsonify }},
|
|
||||||
{{- end }}
|
|
||||||
{{- if not (last .Pages.ByDate.Reverse .) }},{{ end }}
|
|
||||||
}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user