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
25
themes/nluug/layouts/partials/schemas/schema_WebPage.html
Normal file
25
themes/nluug/layouts/partials/schemas/schema_WebPage.html
Normal file
|
@ -0,0 +1,25 @@
|
|||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://www.schema.org",
|
||||
"@type": "WebPage",
|
||||
"@id": "{{ .Permalink }}#webpage",
|
||||
"name": "{{ .Title | default .Site.Params.textEmptyValue }}",
|
||||
"datePublished": {{ .Date }},
|
||||
"dateModified": {{ .Lastmod }},
|
||||
"inLanguage": "{{ .Site.LanguageCode }}",
|
||||
"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>
|
Loading…
Add table
Add a link
Reference in a new issue