repair blog schema, remove unused schemas

This commit is contained in:
madrilene 2023-01-15 11:50:32 +01:00
parent 7c02e55ead
commit da9db6e412
3 changed files with 3 additions and 44 deletions

View file

@ -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 }}"
}

View file

@ -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>

View file

@ -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>