The title field needs to be run through jsonify in the json feed.
This commit is contained in:
parent
0c660865b2
commit
d7cbfefb7a
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@
|
||||||
"items" : [
|
"items" : [
|
||||||
{{ range $index, $element := $list -}}
|
{{ range $index, $element := $list -}}
|
||||||
{
|
{
|
||||||
"title" : "{{ .Title }}",
|
"title" : {{ .Title | jsonify }},
|
||||||
"date_published" : "{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}",
|
"date_published" : "{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}",
|
||||||
{{ if .Lastmod -}}
|
{{ if .Lastmod -}}
|
||||||
"date_modified" : "{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}",
|
"date_modified" : "{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue