diff --git a/layouts/partials/head/meta_json_ld.html b/layouts/partials/head/meta_json_ld.html index c2851c6..41d3d67 100644 --- a/layouts/partials/head/meta_json_ld.html +++ b/layouts/partials/head/meta_json_ld.html @@ -7,7 +7,7 @@ "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" " " (.Summary | truncate 170))) }}{{ . }}{{ end }}, + "description": "{{ with (.Description | default (replaceRE "\n" " " (.Summary | truncate 170))) }}{{ . }}{{ end }}", {{ with .Params.tags -}} "keywords": {{ . }}, {{ end -}} @@ -16,7 +16,7 @@ "url" : {{ .Permalink }}, "name": {{ .Title }}, {{ with $.Param "description" -}} - "description": {{ . }}, + "description": "{{ . }}", {{ end -}} {{ end -}} {{ with $.Param "image" -}}