diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-06-05 14:50:21 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-06-05 14:50:21 +0200 |
| commit | e8614d96f44c290224ae65a2dd029acdff1d3c74 (patch) | |
| tree | cc40b30f3bd88648f7e60a220db20d1f68041565 /layouts/_default | |
| parent | 6c6b1bd1035ae68a18bd83faf7ff1297ead60e8c (diff) | |
| download | gohugo-theme-ed-e8614d96f44c290224ae65a2dd029acdff1d3c74.tar.gz | |
Provided initial support os schema.org microdata
Diffstat (limited to 'layouts/_default')
| -rw-r--r-- | layouts/_default/list.json.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/list.json.json b/layouts/_default/list.json.json index 70ea7a4..f6b89cc 100644 --- a/layouts/_default/list.json.json +++ b/layouts/_default/list.json.json @@ -16,7 +16,7 @@ { "version": "https://jsonfeed.org/version/1.1", - "title": {{ (printf "%s" (partial "title.html" .)) | htmlUnescape | jsonify }}, + "title": {{ (partial "title.html" .) | htmlUnescape | jsonify }}, "home_page_url": {{ printf "%s?utm_source=json_feed" site.BaseURL | absURL | jsonify }}, {{ with .OutputFormats.Get "JSON" }}"feed_url": {{ .Permalink | absURL | jsonify }},{{ end }} {{ with site.Params.description}}"description": {{ site.Params.description | jsonify }},{{ end }} @@ -39,6 +39,6 @@ "date_published": {{ .PublishDate.Format "2006-01-02T15:04:05Z07:00" | jsonify }}{{ if ne .Date .Lastmod }}, "date_modified" : {{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" | jsonify }}{{ end }} } - {{- end}} + {{- end }} ] } |
