2015-03-02 21:06:05 +01:00
|
|
|
<head>
|
2020-05-02 08:10:20 +02:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
2015-03-02 21:06:05 +01:00
|
|
|
|
2020-04-24 01:18:23 +02:00
|
|
|
<title>{% if page.use-site-title %}{{ site.title }} {{ site.title-separator | default: '-' }} {{ site.description }}{% elsif page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
2020-08-08 03:03:44 +02:00
|
|
|
|
2020-04-24 02:30:01 +02:00
|
|
|
{% if site.author %}
|
2020-05-02 08:10:20 +02:00
|
|
|
<meta name="author" content="{{ site.author }}">
|
2020-04-24 01:18:23 +02:00
|
|
|
{% endif %}
|
2020-08-08 03:03:44 +02:00
|
|
|
|
|
|
|
{% if page.description %}
|
|
|
|
<meta name="description" content="{{ page.description }}">
|
|
|
|
{% elsif page.subtitle %}
|
2015-03-31 09:49:22 +02:00
|
|
|
<meta name="description" content="{{ page.subtitle }}">
|
2020-08-09 00:32:36 +02:00
|
|
|
{% elsif site.description %}
|
|
|
|
<meta name="description" content="{{ site.description }}">
|
2015-03-31 09:49:22 +02:00
|
|
|
{% endif %}
|
2015-03-02 21:06:05 +01:00
|
|
|
|
2020-08-08 08:09:00 +02:00
|
|
|
{% if site.mobile-theme-col %}
|
|
|
|
<meta name="theme-color" content="{{ site.mobile-theme-col }}">
|
2020-08-08 04:13:54 +02:00
|
|
|
{% endif %}
|
|
|
|
|
2020-08-08 05:06:10 +02:00
|
|
|
{% if site.keywords %}
|
|
|
|
<meta name="keywords" content="{{ site.keywords }}">
|
|
|
|
{% endif %}
|
|
|
|
|
2020-05-02 08:10:20 +02:00
|
|
|
<link rel="alternate" type="application/rss+xml" title="{{ site.title | default: 'Untitled' }} {{ site.title-separator | default: '-' }} {{ site.description }}" href="{{ '/feed.xml' | absolute_url }}">
|
2016-06-04 10:55:17 +02:00
|
|
|
|
2018-07-06 17:31:25 +02:00
|
|
|
{% include gtag.html %}
|
2017-01-09 05:43:53 +01:00
|
|
|
{% include gtm_head.html %}
|
2018-10-20 23:03:21 +02:00
|
|
|
{% include google_analytics.html %}
|
2017-01-09 05:43:53 +01:00
|
|
|
|
2016-02-02 03:07:13 +01:00
|
|
|
{% if layout.common-ext-css %}
|
|
|
|
{% for css in layout.common-ext-css %}
|
2017-01-28 00:19:00 +01:00
|
|
|
{% include ext-css.html css=css %}
|
2015-03-03 02:10:41 +01:00
|
|
|
{% endfor %}
|
2016-09-29 10:36:33 +02:00
|
|
|
{% endif %}
|
|
|
|
|
2016-02-02 03:07:13 +01:00
|
|
|
{% if layout.common-css %}
|
|
|
|
{% for css in layout.common-css %}
|
2020-05-02 08:10:20 +02:00
|
|
|
<link rel="stylesheet" href="{{ css | relative_url }}">
|
2015-03-03 02:10:41 +01:00
|
|
|
{% endfor %}
|
2016-09-29 10:36:33 +02:00
|
|
|
{% endif %}
|
|
|
|
|
2016-02-05 01:42:30 +01:00
|
|
|
{% if page.ext-css %}
|
|
|
|
{% for css in page.ext-css %}
|
2017-01-28 00:19:00 +01:00
|
|
|
{% include ext-css.html css=css %}
|
2016-02-05 01:42:30 +01:00
|
|
|
{% endfor %}
|
2016-09-29 10:36:33 +02:00
|
|
|
{% endif %}
|
|
|
|
|
2020-08-20 05:19:54 +02:00
|
|
|
{% if site.site-css %}
|
|
|
|
{% for css in site.site-css %}
|
2020-05-02 08:10:20 +02:00
|
|
|
<link rel="stylesheet" href="{{ css | relative_url }}">
|
2016-02-05 01:42:30 +01:00
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
2020-08-20 05:19:54 +02:00
|
|
|
|
|
|
|
{% if page.css %}
|
|
|
|
{% for css in page.css %}
|
2020-08-08 03:10:02 +02:00
|
|
|
<link rel="stylesheet" href="{{ css | relative_url }}">
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
|
2020-05-02 08:36:45 +02:00
|
|
|
<!-- Facebook OpenGraph tags -->
|
2016-09-29 10:36:33 +02:00
|
|
|
{% if site.fb_app_id %}
|
2020-05-02 08:10:20 +02:00
|
|
|
<meta property="fb:app_id" content="{{ site.fb_app_id }}">
|
2016-09-29 10:36:33 +02:00
|
|
|
{% endif %}
|
|
|
|
|
2020-08-08 08:18:14 +02:00
|
|
|
{% if site.title %}
|
|
|
|
<meta property="og:site_name" content="{{ site.title }}">
|
|
|
|
{% endif %}
|
|
|
|
|
2016-09-29 10:36:33 +02:00
|
|
|
{% if page.meta-title %}
|
2020-05-02 08:10:20 +02:00
|
|
|
<meta property="og:title" content="{{ page.meta-title }}">
|
2016-09-29 10:36:33 +02:00
|
|
|
{% elsif page.title %}
|
2020-05-02 08:10:20 +02:00
|
|
|
<meta property="og:title" content="{{ page.title }}">
|
2020-04-24 01:18:23 +02:00
|
|
|
{% elsif site.title %}
|
2020-05-02 08:10:20 +02:00
|
|
|
<meta property="og:title" content="{{ site.title }}">
|
2016-09-29 10:36:33 +02:00
|
|
|
{% endif %}
|
|
|
|
|
2020-08-08 08:18:14 +02:00
|
|
|
{% if page.meta-description %}
|
2016-09-29 10:36:33 +02:00
|
|
|
<meta property="og:description" content="{{ page.meta-description }}">
|
|
|
|
{% elsif page.subtitle %}
|
|
|
|
<meta property="og:description" content="{{ page.subtitle }}">
|
|
|
|
{% else %}
|
|
|
|
<meta property="og:description" content="{{ page.content | strip_html | xml_escape | truncatewords: 50 }}">
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
2020-06-28 21:53:25 +02:00
|
|
|
{% if page.id %}
|
|
|
|
<meta property="og:type" content="article">
|
|
|
|
<meta property="og:article:author" content="{{ site.author }}">
|
|
|
|
<meta property="og:article:published_time" content="{{ page.date | date_to_xmlschema }}">
|
|
|
|
{% else %}
|
2020-05-02 08:10:20 +02:00
|
|
|
<meta property="og:type" content="website">
|
2020-06-28 21:53:25 +02:00
|
|
|
{% endif %}
|
2016-09-29 10:36:33 +02:00
|
|
|
|
2015-03-31 09:30:08 +02:00
|
|
|
{% if page.id %}
|
2020-05-02 08:10:20 +02:00
|
|
|
<meta property="og:url" content="{{ page.url | absolute_url }}">
|
|
|
|
<link rel="canonical" href="{{ page.url | absolute_url }}">
|
2015-03-31 09:30:08 +02:00
|
|
|
{% else %}
|
2020-05-02 08:10:20 +02:00
|
|
|
<meta property="og:url" content="{{ page.url | absolute_url | strip_index }}">
|
|
|
|
<link rel="canonical" href="{{ page.url | absolute_url | strip_index }}">
|
2015-03-31 09:30:08 +02:00
|
|
|
{% endif %}
|
2016-09-29 10:36:33 +02:00
|
|
|
|
2020-07-07 07:14:01 +02:00
|
|
|
{%- capture shareimg -%}
|
|
|
|
{% if page.share-img %}
|
|
|
|
{{ page.share-img }}
|
|
|
|
{% elsif page.cover-img %}
|
|
|
|
{% if page.cover-img.first %}
|
|
|
|
{{ page.cover-img[0].first.first }}
|
|
|
|
{% else %}
|
|
|
|
{{ page.cover-img }}
|
|
|
|
{% endif %}
|
|
|
|
{% elsif page.thumbnail-img %}
|
|
|
|
{{ page.thumbnail-img }}
|
|
|
|
{% elsif site.avatar %}
|
|
|
|
{{ site.avatar }}
|
|
|
|
{% endif %}
|
|
|
|
{% endcapture %}
|
|
|
|
{% assign shareimg=shareimg | strip %}
|
|
|
|
|
|
|
|
{% if shareimg != "" %}
|
|
|
|
<meta property="og:image" content="{{ shareimg | absolute_url }}">
|
2015-03-31 09:30:08 +02:00
|
|
|
{% endif %}
|
2018-01-22 08:14:52 +01:00
|
|
|
|
2016-09-29 10:36:33 +02:00
|
|
|
|
2016-07-21 00:00:09 +02:00
|
|
|
<!-- Twitter summary cards -->
|
2020-07-12 09:06:26 +02:00
|
|
|
{% if shareimg != "" and shareimg != site.avatar %}
|
2020-06-30 21:06:03 +02:00
|
|
|
<meta name="twitter:card" content="summary_large_image">
|
|
|
|
{% else %}
|
2020-05-02 08:10:20 +02:00
|
|
|
<meta name="twitter:card" content="summary">
|
2020-06-30 21:06:03 +02:00
|
|
|
{% endif %}
|
2020-05-02 08:10:20 +02:00
|
|
|
<meta name="twitter:site" content="@{{ site.social-network-links.twitter }}">
|
|
|
|
<meta name="twitter:creator" content="@{{ site.social-network-links.twitter }}">
|
2016-09-29 10:36:33 +02:00
|
|
|
|
|
|
|
{% if page.meta-title %}
|
2020-05-02 08:10:20 +02:00
|
|
|
<meta name="twitter:title" content="{{ page.meta-title }}">
|
2016-09-29 10:36:33 +02:00
|
|
|
{% elsif page.title %}
|
2020-05-02 08:10:20 +02:00
|
|
|
<meta name="twitter:title" content="{{ page.title }}">
|
2016-09-29 10:36:33 +02:00
|
|
|
{% else %}
|
2020-05-02 08:10:20 +02:00
|
|
|
<meta name="twitter:title" content="{{ site.title }}">
|
2016-09-29 10:36:33 +02:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if page.meta-description %}
|
|
|
|
<meta name="twitter:description" content="{{ page.meta-description }}">
|
|
|
|
{% elsif page.subtitle %}
|
|
|
|
<meta name="twitter:description" content="{{ page.subtitle }}">
|
|
|
|
{% else %}
|
|
|
|
<meta name="twitter:description" content="{{ page.content | strip_html | xml_escape | truncatewords: 50 }}">
|
|
|
|
{% endif %}
|
|
|
|
|
2020-07-07 07:14:01 +02:00
|
|
|
{% if shareimg != "" %}
|
|
|
|
<meta name="twitter:image" content="{{ shareimg | absolute_url }}">
|
2016-07-21 00:00:09 +02:00
|
|
|
{% endif %}
|
2016-09-29 10:36:33 +02:00
|
|
|
|
2018-01-22 08:14:52 +01:00
|
|
|
{% if site.matomo %}
|
|
|
|
{% include matomo.html %}
|
|
|
|
{% endif %}
|
|
|
|
|
2018-12-25 23:21:42 +01:00
|
|
|
{% if page.comments and site.staticman.repository and site.staticman.branch %}
|
2018-12-25 23:34:26 +01:00
|
|
|
<!-- Staticman -->
|
2020-05-02 08:10:20 +02:00
|
|
|
<link rel="stylesheet" href="{{ "/assets/css/staticman.css" | relative_url }}">
|
2018-12-25 23:21:42 +01:00
|
|
|
{% endif %}
|
|
|
|
|
2020-08-09 03:44:57 +02:00
|
|
|
{% if page.head-extra %}
|
|
|
|
{% include {{ page.head-extra }} %}
|
|
|
|
{% endif %}
|
|
|
|
|
2015-03-31 09:49:22 +02:00
|
|
|
</head>
|