2023-06-21 15:34:33 +02:00
|
|
|
<script type="application/ld+json">
|
|
|
|
{
|
2023-06-23 11:39:59 +02:00
|
|
|
"@context": "https://schema.org",
|
2023-06-21 15:34:33 +02:00
|
|
|
"@type": "WebPage",
|
|
|
|
"@id": "{{ .Permalink }}#webpage",
|
|
|
|
"name": "{{ .Title | default .Site.Params.textEmptyValue }}",
|
|
|
|
"datePublished": {{ .Date }},
|
|
|
|
"dateModified": {{ .Lastmod }},
|
|
|
|
"inLanguage": "{{ .Site.LanguageCode }}",
|
2023-06-23 16:26:55 +02:00
|
|
|
{{ if .Params.review.reviewed_by }}
|
|
|
|
{{ if findRE `^[a-z]+(\-[a-z]+)+$` .Params.review.reviewed_by 1 }}
|
|
|
|
{{ with (index $.Site.Data.personen .Params.review.reviewed_by) }}
|
|
|
|
"reviewedBy": {
|
|
|
|
"@type": "Person",
|
|
|
|
"name": "{{ .name }}",
|
|
|
|
"sameAs": "{{ .profile_page | absURL }}"
|
|
|
|
},
|
|
|
|
{{ end }}
|
|
|
|
{{ else }}
|
|
|
|
"reviewedBy": {
|
|
|
|
"@type": "Person",
|
|
|
|
"name": "{{ .Params.review.reviewed_by }}"
|
|
|
|
},
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ if .Params.review.last_review }}
|
|
|
|
"lastReviewed": "{{ .Params.review.last_review }}",
|
|
|
|
{{ end }}
|
2023-06-21 15:34:33 +02:00
|
|
|
"mainContentOfPage": {
|
|
|
|
"@type": "WebPageElement",
|
|
|
|
"cssSelector": ".content"
|
|
|
|
},
|
|
|
|
"speakable": {
|
|
|
|
"@type": "SpeakableSpecification",
|
|
|
|
"cssSelector": ".speakable"
|
|
|
|
},
|
|
|
|
"isPartOf": {
|
|
|
|
"@type": "WebSite",
|
|
|
|
"@id": "{{ .Site.BaseURL }}#website",
|
|
|
|
"url": "{{ .Site.BaseURL }}",
|
|
|
|
"name": "{{ .Site.Title | default .Site.Params.textNoTitle }}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|