diff --git a/layouts/partials/meta_json_ld.html b/layouts/partials/meta_json_ld.html index 1eeb458..6fdafd7 100644 --- a/layouts/partials/meta_json_ld.html +++ b/layouts/partials/meta_json_ld.html @@ -7,7 +7,9 @@ "datePublished": {{ .Date.Format "2006-01-02T15:04:05Z07:00" }}, "dateModified": {{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" }}, "url" : {{ .Permalink }}, - "description": {{ with (.Description | default (replaceRE "\n" " " (.Plain | truncate 170))) }}{{ . }}{{ end }}, + {{ with (.Description | default (replaceRE "\n" " " (.Plain | truncate 170))) -}} + "description": {{ . }}, + {{ end -}} {{ with .Params.tags -}} "keywords": {{ . }}, {{ end -}}