repair blog schema, remove unused schemas
This commit is contained in:
parent
7c02e55ead
commit
da9db6e412
3 changed files with 3 additions and 44 deletions
|
|
@ -11,16 +11,16 @@
|
|||
"@id": "{{ url }}",
|
||||
"headline": "{{ title or meta.siteName }}",
|
||||
"description": "{{ seo.description or description or meta.siteDescription }}",
|
||||
"image": "{% if seo.image %}/assets/images/{{ seo.image }}{% else %}{{ meta.siteImage }}{% endif %}",
|
||||
"image": "{{ meta.url }}{% if seo.image %}/assets/images/{{ seo.image }}{% else %}{{ meta.meta_data.opengraph_default }}{% endif %}",
|
||||
"inLanguage": "{{ meta.locale }}",
|
||||
"publisher": {
|
||||
"@type": "{{ meta.siteType }}",
|
||||
"name": "{{ meta.authorName }}",
|
||||
"name": "{{ meta.author }}",
|
||||
"url": "{{ meta.url }}"
|
||||
},
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "{{ meta.authorName }}"
|
||||
"name": "{{ meta.author }}"
|
||||
},
|
||||
"datePublished": "{{ date | toIsoString }}"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,21 +0,0 @@
|
|||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "Event",
|
||||
"@id": "{{ url }}",
|
||||
"location": {
|
||||
"@type": "Place",
|
||||
"address": {
|
||||
"@type": "PostalAddress",
|
||||
"addressLocality": "{{ location }}"
|
||||
},
|
||||
"name": "{{ location }}"
|
||||
},
|
||||
"name": "{{ title }}",
|
||||
"description": "{{ description }}",
|
||||
"startDate": "{{ date }}",
|
||||
"endDate": "{{ ending }}",
|
||||
"performer": "{{ artist }}",
|
||||
"organizer": "{{ meta.siteName }}"
|
||||
}
|
||||
</script>
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
<script type="application/ld+json">
|
||||
{
|
||||
"@type": "WebPage",
|
||||
"mainEntityOfPage": {
|
||||
"@type": "WebPage"
|
||||
},
|
||||
"isPartOf": {
|
||||
"@id": "{{ meta.url }}#website"
|
||||
},
|
||||
"headline": "{{ title or meta.siteName }}",
|
||||
"description": "{{ seo.description or description or meta.siteDescription }}",
|
||||
"image": "{% if seo.image %}/assets/images/{{ seo.image }}{% else %}{{ meta.siteImage }}{% endif %}",
|
||||
"inLanguage": "{{ meta.locale }}",
|
||||
"publisher": {
|
||||
"@type": "{{ meta.siteType }}",
|
||||
"name": "{{ meta.authorName }}",
|
||||
"url": "{{ meta.url }}"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Loading…
Reference in a new issue