malformed Json in partials fixed

Malformed json causes hugo --minify to fail
This commit is contained in:
Baljeet Kumar 2018-12-02 22:42:59 +05:30 committed by GitHub
parent 2884e266ba
commit 0f451222e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,7 @@
{{ end }}
{{ if .IsPage }}
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "BlogPosting",
"mainEntityOfPage": {
@ -40,4 +41,4 @@
"keywords" : [ {{ if isset .Params "tags" }}{{ range .Params.tags }}"{{ . }}",{{ end }}{{ end }} {{with .Site.Title}}"{{ .}}"{{ end }}]
}
</script>
{{ end }}
{{ end }}