mirror of
https://github.com/gohugoio/hugo.git
synced 2026-09-02 03:32:38 +00:00
Remove temporarily JSON-LD schema.org metadata that is breaking build on Netlify
This commit is contained in:
@@ -1,36 +0,0 @@
|
||||
<!-- <script type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "BlogPosting",
|
||||
"articleSection": "{{.Section | title}}",
|
||||
"headline": "{{.Title}}",
|
||||
"name": "{{.Title}}",
|
||||
"url": "{{.Permalink }}",
|
||||
"mainEntityOfPage": "{{.Permalink}}",
|
||||
"datePublished": {{.PublishDate.Format "2006-01-02"}},
|
||||
"dateModified": {{.Date.Format "2006-01-02"}},
|
||||
"wordCount": {{.WordCount}},
|
||||
"image": {
|
||||
"@type": "ImageObject",
|
||||
"url": "{{.Site.BaseURL | safeJS}}images/{{.Site.Params.defaultsocialimage | safeJS }}",
|
||||
"height": 533,
|
||||
"width": 800
|
||||
},
|
||||
{{ with .Params.authors }}
|
||||
{{range . }}
|
||||
"author": {
|
||||
"@type": "person",
|
||||
"name": "{{.}}"
|
||||
},
|
||||
{{ end }}
|
||||
"publisher": {
|
||||
"@type": "Organization",
|
||||
"name": "{{.Site.Params.organizationname}}",
|
||||
"logo": {
|
||||
"@type": "ImageObject",
|
||||
"url": "{{.Site.BaseURL}}/assets/images/{{.Site.Params.defaultsocialimage}}"
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
-->
|
||||
@@ -1,9 +1,9 @@
|
||||
<head>
|
||||
<!-- - partial "head/metadata-schemaorg.html" . - -->
|
||||
{{- partial "head/noindex.html" . -}}
|
||||
{{- partial "head/metadata-refreshredirect.html" . -}}
|
||||
{{- partial "head/metadata-standard.html" . -}}
|
||||
{{- partial "head/metadata-opengraph.html" . -}}
|
||||
{{- partial "head/metadata-schemaorg.html" . -}}
|
||||
{{- partial "head/metadata-favicons.html" . -}}
|
||||
{{- partial "head/metadata-prefetch.html" . -}}
|
||||
{{- partial "head/site-style.html" . -}}
|
||||
|
||||
Reference in New Issue
Block a user