The title field needs to be run through jsonify in the json feed.

This commit is contained in:
Fredrik Jonsson 2017-05-23 14:02:29 +02:00
commit d7cbfefb7a

View file

@ -24,7 +24,7 @@
"items" : [
{{ range $index, $element := $list -}}
{
"title" : "{{ .Title }}",
"title" : {{ .Title | jsonify }},
"date_published" : "{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}",
{{ if .Lastmod -}}
"date_modified" : "{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}",