mikaela.github.io/_includes/head.html

37 lines
2.9 KiB
HTML
Vendored

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="noindex, nofollow, noai">
<link rel="icon prefetch" href="{{site.icon}}">
<title>{% if page.title %}{{ page.title }} ~~ {{ site.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description | nstrip_html | strip_newlines }}{% endif %}">
<link rel="me prefetch" href="{{ site.url }}" />
<link rel="openid.delegate" href="https://aminda.eu/" />
<link rel="openid.server" href="https://openid.indieauth.com/openid" />
<link rel="stylesheet prefetch" href="{{ "/assets/main.css" | prepend: site.baseurl }}">
<link rel="canonical prefetch" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/blog/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />
<link rel="alternate" type="application/rss+xml" title="{{ site.title }} - in English" href="{{ "/blog/feed.en.xml" | prepend: site.baseurl | prepend: site.url }}" />
<link rel="alternate" type="application/rss+xml" title="{{ site.title }} - Suomeksi" href="{{ "/blog/feed.fi.xml" | prepend: site.baseurl | prepend: site.url }}" />
<!-- Help http://validator-search.verisignlabs.com/ -->
<link rel="prefetch" href="https://prefetch.validatorsearch.verisignlabs.com" />
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
<meta http-equiv="x-dns-prefetch-control" content="off" />
<meta name="referrer" content="no-referrer" />
<!-- OpenGraph -->
<meta name="og:title" content="{% if page.title %}{{ page.title }} ~~ {{ site.title }}{% else %}{{ site.title }}{% endif %}" />
<meta name="og:description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description | nstrip_html | strip_newlines }}{% endif %}" />
<meta name="og:site_name" content="{{site.title}}" />
<meta name="og:image" content="{{site.icon}}"/>
<!-- https://indieweb.org/How_to_set_up_web_sign-in_on_your_own_domain#How_to_setup_RelMeAuth - regardless of antipattern, the things I do for verified checkboxes at Mastodon... -->
<link rel="me" type="application/activity+json" href="https://sauna.social/users/aminda" />
<link rel="me" type="application/activity+json" href="https://mastodon.pirateparty.be/users/MikaelaPPFI" />
<!-- https://github.com/macdonst/detect-missing-adblocker -->
<script rel="prefetch" type="module" src="https://unpkg.com/detect-missing-adblocker@latest/dist/detect-missing-adblocker.js?module=true"></script>
<link rel="stylesheet prefetch" href="https://unpkg.com/detect-missing-adblocker@latest/nativeads.js.css">
</head>