From e8614d96f44c290224ae65a2dd029acdff1d3c74 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 5 Jun 2022 14:50:21 +0200 Subject: Provided initial support os schema.org microdata --- layouts/_default/list.json.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'layouts/_default') 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 }} ] } -- cgit v1.2.3