7
0
Fork 0
This repository has been archived on 2024-10-15. You can view files and clone it, but cannot push or open issues or pull requests.
fediversity_website_archive/themes/nluug/layouts/partials/schemas/schema_WebPage.html

26 lines
665 B
HTML

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