2015-03-02 12:06:05 -08:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
2018-07-04 14:38:17 +09:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, viewport-fit=cover">
|
2015-03-02 12:06:05 -08: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-04-24 00:30:01 +00:00
|
|
|
{% if site.author %}
|
|
|
|
<meta name="author" content="{{ site.author }}" />
|
2020-04-24 01:18:23 +02:00
|
|
|
{% endif %}
|
|
|
|
|
2015-03-31 00:49:22 -07:00
|
|
|
{% if page.subtitle %}
|
|
|
|
<meta name="description" content="{{ page.subtitle }}">
|
|
|
|
{% endif %}
|
2015-03-02 12:06:05 -08:00
|
|
|
|
2020-04-24 01:18:23 +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 01:55:17 -07:00
|
|
|
|
2018-07-06 11:31:25 -04:00
|
|
|
{% include gtag.html %}
|
2017-01-09 07:43:53 +03:00
|
|
|
{% include gtm_head.html %}
|
2018-10-20 17:03:21 -04:00
|
|
|
{% include google_analytics.html %}
|
2017-01-09 07:43:53 +03:00
|
|
|
|
2016-02-01 18:07:13 -08:00
|
|
|
{% if layout.common-ext-css %}
|
|
|
|
{% for css in layout.common-ext-css %}
|
2017-01-28 10:19:00 +11:00
|
|
|
{% include ext-css.html css=css %}
|
2015-03-02 17:10:41 -08:00
|
|
|
{% endfor %}
|
2016-09-29 08:36:33 +00:00
|
|
|
{% endif %}
|
|
|
|
|
2016-02-01 18:07:13 -08:00
|
|
|
{% if layout.common-css %}
|
|
|
|
{% for css in layout.common-css %}
|
2019-06-08 13:34:33 +08:00
|
|
|
<link rel="stylesheet" href="{{ css | relative_url }}" />
|
2015-03-02 17:10:41 -08:00
|
|
|
{% endfor %}
|
2016-09-29 08:36:33 +00:00
|
|
|
{% endif %}
|
|
|
|
|
2016-02-01 18:07:13 -08:00
|
|
|
{% if layout.common-googlefonts %}
|
|
|
|
{% for font in layout.common-googlefonts %}
|
2016-02-04 16:42:30 -08:00
|
|
|
<link rel="stylesheet" href="//fonts.googleapis.com/css?family={{ font }}" />
|
2015-03-02 17:10:41 -08:00
|
|
|
{% endfor %}
|
2015-03-02 12:06:05 -08:00
|
|
|
{% endif %}
|
|
|
|
|
2016-02-04 16:42:30 -08:00
|
|
|
{% if page.ext-css %}
|
|
|
|
{% for css in page.ext-css %}
|
2017-01-28 10:19:00 +11:00
|
|
|
{% include ext-css.html css=css %}
|
2016-02-04 16:42:30 -08:00
|
|
|
{% endfor %}
|
2016-09-29 08:36:33 +00:00
|
|
|
{% endif %}
|
|
|
|
|
2016-02-04 16:42:30 -08:00
|
|
|
{% if page.css %}
|
|
|
|
{% for css in page.css %}
|
2019-06-08 13:34:33 +08:00
|
|
|
<link rel="stylesheet" href="{{ css | relative_url }}" />
|
2016-02-04 16:42:30 -08:00
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
2016-06-04 01:51:39 -07:00
|
|
|
|
2016-02-04 16:42:30 -08:00
|
|
|
{% if page.googlefonts %}
|
|
|
|
{% for font in page.googlefonts %}
|
|
|
|
<link rel="stylesheet" href="//fonts.googleapis.com/css?family={{ font }}" />
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
2016-06-04 01:51:39 -07:00
|
|
|
|
2016-09-29 08:36:33 +00:00
|
|
|
<!-- Facebook OpenGraph tags -->
|
|
|
|
{% if site.fb_app_id %}
|
|
|
|
<meta property="fb:app_id" content="{{ site.fb_app_id }}" />
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if page.meta-title %}
|
|
|
|
<meta property="og:title" content="{{ page.meta-title }}" />
|
|
|
|
{% elsif page.title %}
|
|
|
|
<meta property="og:title" content="{{ page.title }}" />
|
2020-04-24 01:18:23 +02:00
|
|
|
{% elsif site.title %}
|
2016-09-29 08:36:33 +00:00
|
|
|
<meta property="og:title" content="{{ site.title }}" />
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if page.meta-description %}
|
|
|
|
<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 %}
|
|
|
|
|
|
|
|
|
2015-03-31 00:30:08 -07:00
|
|
|
<meta property="og:type" content="website" />
|
2016-09-29 08:36:33 +00:00
|
|
|
|
2015-03-31 00:30:08 -07:00
|
|
|
{% if page.id %}
|
2019-06-21 15:48:52 +08:00
|
|
|
<meta property="og:url" content="{{ page.url | absolute_url }}" />
|
|
|
|
<link rel="canonical" href="{{ page.url | absolute_url }}" />
|
2015-03-31 00:30:08 -07:00
|
|
|
{% else %}
|
2019-06-21 15:48:52 +08: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 00:30:08 -07:00
|
|
|
{% endif %}
|
2016-09-29 08:36:33 +00:00
|
|
|
|
2016-07-20 15:00:09 -07:00
|
|
|
{% if page.share-img %}
|
|
|
|
<meta property="og:image" content="{{ page.share-img }}" />
|
2015-03-31 00:39:09 -07:00
|
|
|
{% elsif site.avatar %}
|
2019-06-21 15:48:52 +08:00
|
|
|
<meta property="og:image" content="{{ site.avatar | absolute_url }}" />
|
2015-03-31 00:30:08 -07:00
|
|
|
{% endif %}
|
2018-01-22 08:14:52 +01:00
|
|
|
|
2016-09-29 08:36:33 +00:00
|
|
|
|
2016-07-20 15:00:09 -07:00
|
|
|
<!-- Twitter summary cards -->
|
|
|
|
<meta name="twitter:card" content="summary" />
|
2020-04-24 00:30:01 +00:00
|
|
|
<meta name="twitter:site" content="@{{ site.social-network-links.twitter }}" />
|
|
|
|
<meta name="twitter:creator" content="@{{ site.social-network-links.twitter }}" />
|
2016-09-29 08:36:33 +00:00
|
|
|
|
|
|
|
{% if page.meta-title %}
|
|
|
|
<meta name="twitter:title" content="{{ page.meta-title }}" />
|
|
|
|
{% elsif page.title %}
|
|
|
|
<meta name="twitter:title" content="{{ page.title }}" />
|
|
|
|
{% else %}
|
|
|
|
<meta name="twitter:title" content="{{ site.title }}" />
|
|
|
|
{% 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 %}
|
|
|
|
|
2016-07-20 15:00:09 -07:00
|
|
|
{% if page.share-img %}
|
|
|
|
<meta name="twitter:image" content="{{ page.share-img }}" />
|
|
|
|
{% elsif site.avatar %}
|
2019-06-21 15:48:52 +08:00
|
|
|
<meta name="twitter:image" content="{{ site.avatar | absolute_url }}" />
|
2016-07-20 15:00:09 -07:00
|
|
|
{% endif %}
|
2016-09-29 08:36:33 +00: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 17:34:26 -05:00
|
|
|
<!-- Staticman -->
|
2019-06-08 13:34:33 +08:00
|
|
|
<link rel="stylesheet" href="{{ "/css/staticman.css" | relative_url }}" />
|
2018-12-25 23:21:42 +01:00
|
|
|
{% endif %}
|
|
|
|
|
2015-03-31 00:49:22 -07:00
|
|
|
</head>
|