malformed Json in partials fixed
Malformed json causes hugo --minify to fail
This commit is contained in:
parent
2884e266ba
commit
0f451222e0
@ -16,6 +16,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .IsPage }}
|
{{ if .IsPage }}
|
||||||
<script type="application/ld+json">
|
<script type="application/ld+json">
|
||||||
|
{
|
||||||
"@context" : "http://schema.org",
|
"@context" : "http://schema.org",
|
||||||
"@type" : "BlogPosting",
|
"@type" : "BlogPosting",
|
||||||
"mainEntityOfPage": {
|
"mainEntityOfPage": {
|
||||||
@ -40,4 +41,4 @@
|
|||||||
"keywords" : [ {{ if isset .Params "tags" }}{{ range .Params.tags }}"{{ . }}",{{ end }}{{ end }} {{with .Site.Title}}"{{ .}}"{{ end }}]
|
"keywords" : [ {{ if isset .Params "tags" }}{{ range .Params.tags }}"{{ . }}",{{ end }}{{ end }} {{with .Site.Title}}"{{ .}}"{{ end }}]
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user