Verdere opmaak van gestructureerde data, aanbrengen onderscheid tussen webpagina's en profielpagina's, markeren content die uitgesproken kan worden
This commit is contained in:
parent
3d2a7b3b65
commit
029409826a
6 changed files with 89 additions and 55 deletions
|
@ -4,27 +4,16 @@
|
|||
|
||||
<script type="application/ld+json">
|
||||
[
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Webpage",
|
||||
"specialty": "{{ .Site.Params.description | default .Site.Params.textEmptyValue }}",
|
||||
"mainContentOfPage": {
|
||||
"@context": "https://schema.org/",
|
||||
"@type": "WebPageElement",
|
||||
"cssSelector": ".body-contentTODO"
|
||||
},
|
||||
"primaryImageOfPage": "{{ .Site.Params.imageurl | absURL | default .Site.Params.textEmptyValue }}"
|
||||
},
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "WebSite",
|
||||
"@id": "{{ .Site.BaseURL }}",
|
||||
"additionalType": ["CreativeWork", "Person"],
|
||||
"@id": "{{ .Site.BaseURL }}#website",
|
||||
"additionalType": ["CreativeWork"],
|
||||
"url": "{{ .Site.BaseURL }}",
|
||||
"name": "{{ .Site.Title | default .Site.Params.textNoTitle }}",
|
||||
"alternateName": "{{ .Site.Title | default .Site.Params.textNoTitle }}",
|
||||
"headline": "{{ .Site.Params.description | default .Site.Params.textNoTitle }}",
|
||||
"image": "{{ .Site.Params.imageurl | absURL | default .Site.Params.textNoTitle }}",
|
||||
{{ if .Site.Params.imageurl }}"image": "{{ .Site.Params.imageurl | absURL | default .Site.Params.textNoTitle }}",{{ end }}
|
||||
"inLanguage": "{{ .Site.LanguageCode }}",
|
||||
"author": "{{ .Site.Params.author | default .Site.Params.textNoValue }}",
|
||||
"description": "{{ .Site.Params.description }}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue