quitsocialmedia.club/includes/head.html

87 lines
4.1 KiB
HTML
Raw Permalink Normal View History

{% assign absoluteUrl = url | prepend: site.url %}
2020-12-31 20:03:57 +01:00
<head>
<!-- Basic -->
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1, viewport-fit=cover'>
<meta name='mobile-web-app-capable' content='yes'>
<meta name='apple-mobile-web-app-status-bar-style' content='black-translucent'>
<meta name='apple-mobile-web-app-capable' content='yes'>
2022-01-05 20:29:51 +01:00
<meta name='color-scheme' content='dark light'>
2020-12-31 20:03:57 +01:00
<!-- Assets -->
<link rel='preload' href='/style.css' type='text/css' as='style'>
<link rel='stylesheet' href='/style.css' type='text/css'>
2020-12-31 20:03:57 +01:00
<!-- Favicon -->
2022-09-18 10:38:13 +02:00
<link rel='shortcut icon' href='/favicon.svg' type='image/svg+xml'>
2020-12-31 20:03:57 +01:00
<!-- Metadata -->
<title>{% if title %}{{ title }} | {% endif %}{{ site.title }}</title>
<meta property='og:title' content='{% if title %}{{ title }} | {% endif %}{{ site.title }}'>
{% if description != nil %}
<meta name='description' content='{{ description | strip_html | replace: "'", " " }}'>
<meta property='og:description' content='{{ description | strip_html | replace: "'", " " }}'>
{% else %}
<meta name='description' content='{{ site.description }}'>
<meta property='og:description' content='{{ site.description }}'>
{% endif %}
<meta property='og:author' content='{{ site.author.name }}'>
<meta name='author' content='{{ site.author.name }}'>
<meta property='og:site_name' content='{{ site.title }}'>
<meta name='generator' content='Eleventy'>
<meta property='og:url' content='{{ absoluteUrl }}'>
{% if date %}<meta property='og:article:published_time' content='{{ date | date: '%Y-%m-%dT%H:%M:%S%:z' }}'>{% endif %}
{% if updated %}<meta property='article:modified_time' content='{{ updated | date: '%Y-%m-%dT%H:%M:%S%:z' }}'>{% endif %}
<meta property='og:image' content='{% if image %}{{ image }}{% else %}{{ site.image }}{% endif %}'>
<meta name='twitter:card' content='{% if layout == post %}summary_large_image{% else %}summary{% endif %}'>
<meta name='theme-color' content='#F1FAEE' media='(prefers-color-scheme: light)'>
<meta name='theme-color' content='#1D3557' media='(prefers-color-scheme: dark)'>
<link rel='canonical' href='{{ absoluteUrl }}'>
<meta property='og:author' content='{{ site.author.name }}'>
<meta property='og:locale' content='{{ lang }}'>
{% if alternates %}
{% for alternate in alternates %}
<meta property='og:locale:alternate' content='{{ alternate.data.lang }}'>
<link rel='alternate' hreflang='{{ alternate.data.lang }}' href='{{ alternate.url | url }}'>
{% endfor %}
{% endif %}
<!-- IndieAuth + IndieWeb -->
{% comment %}<link rel='microsub' href='https://aperture.p3k.io/microsub/571'>{% endcomment %}
<link rel='openid.delegate' href='https://quitsocialmedia.club'>
<link rel='openid.server' href='https://openid.indieauth.com/openid'>
<link rel='authorization_endpoint' href='https://indieauth.com/auth'>
<link rel='token_endpoint' href='https://tokens.indieauth.com/token'>
<link rel='pingback' href='https://webmention.io/quitsocialmedia.club/xmlrpc'>
<link rel='webmention' href='https://webmention.io/quitsocialmedia.club/webmention'>
2021-04-12 17:59:52 +02:00
<!-- All of Tommis Accounts -->
{% for account in accounts %}
{% if account.deleted == '' and account.url != '' %}
<link rel='me{{ account.attributes }}' href='{{ account.url }}' title='Tommi on {{ account.platform }}'>
{% endif %}
{% endfor %}
<link rel='me pgpkey' href='https://api.protonmail.ch/pks/lookup?op=get&search={{ author.email }}'>
2020-12-31 20:03:57 +01:00
<script type='application/ld+json'>
{
"@context": "https://schema.org",
"@type": "{%- if type -%}{{ type }}{%- else -%}WebPage{%- endif -%}",
"name": "{{ title }}",
"about": "{%- if description -%}{{ description }}{%- else -%}{{ site.description }}{%- endif -%}",
"headline": "{%- if description -%}{{ description }}{%- else -%}{{ site.description }}{%- endif -%}",
"author": {
"@type": "Person",
"name": "{{ tommi.name }}",
"gender": "{{ tommi.gender }}",
"nationality": "{{ tommi.nationality }}",
"image": "{{ tommi.image }}",
"jobTitle": "{{ tommi.jobTitle }}",
},
"url": "{{ url | prepend: site.url }}",
"image": "{{ site.image | prepend: site.url }}",
"sameAs": "{{ source }}"
}
</script>
2020-12-31 20:03:57 +01:00
</head>