nonscollectif-org/src/_includes/common-metas.njk

49 lines
2.2 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ title or metadata.title }}</title>
{% if description %}<meta name="description" content="{{ description }}">{% endif %}
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "{{ type or "Article" }}",
"headline": "{{ headline or title }}",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "{{ metadata.url + page.url }}"
},
{% if image %} "image": [
"{{ image }}"
],{% endif %}
"dateCreated": "{{ page.date | htmlDateString }}",
"datePublished": "{{ page.date | htmlDateString }}",
"dateModified": "{{ (modified or page.date) | htmlDateString }}",
{% if description %}"description": "{{ description }}",{% endif %}
{% if keywords %}"keywords": "{{ keywords }}",{% endif %}
"author": {
"@type": "Organization",
"name": "NonScollectif",
"url": "{{ metadata.url }}",
"logo": {
"@type": "ImageObject",
"url": "/images/Logo.png"
}
},
"publisher": {
"@type": "Organization",
"name": "NonScollectif",
"url": "{{ metadata.url }}",
"logo": {
"@type": "ImageObject",
"url": "/images/Logo.png"
}
},
"isAccessibleForFree": "True"
}
</script>
<link rel="stylesheet" href="{{ '/css/global.css' | url }}">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16">
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/android-chrome-192x192.png" sizes="192x192">
<link rel="icon" type="image/png" href="/android-chrome-512x512.png" sizes="512x512">
<meta name="theme-color" content="#fff7ed">