2015-03-02 21:06:05 +01:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
|
|
|
|
2015-03-03 10:03:01 +01:00
|
|
|
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
2015-03-02 21:06:05 +01:00
|
|
|
|
|
|
|
<meta name="author" content="{{ site.author.name }}" />
|
2015-03-31 09:49:22 +02:00
|
|
|
|
|
|
|
{% if page.subtitle %}
|
|
|
|
<meta name="description" content="{{ page.subtitle }}">
|
|
|
|
{% endif %}
|
2015-03-02 21:06:05 +01:00
|
|
|
|
2015-03-03 10:03:01 +01:00
|
|
|
<link rel="alternate" type="application/rss+xml" title="{{ site.title }} - {{ site.description }}" href="{{ site.baseurl }}/feed.xml" />
|
2016-06-04 10:55:17 +02:00
|
|
|
|
2016-02-02 03:07:13 +01:00
|
|
|
{% if layout.common-ext-css %}
|
|
|
|
{% for css in layout.common-ext-css %}
|
2015-03-03 02:10:41 +01:00
|
|
|
<link rel="stylesheet" href="{{ css }}" />
|
|
|
|
{% endfor %}
|
2016-02-05 01:42:30 +01:00
|
|
|
{% endif %}
|
2015-03-03 02:10:41 +01:00
|
|
|
|
2016-02-02 03:07:13 +01:00
|
|
|
{% if layout.common-css %}
|
|
|
|
{% for css in layout.common-css %}
|
2015-03-03 02:10:41 +01:00
|
|
|
<link rel="stylesheet" href="{{ css | prepend: site.baseurl | replace: '//', '/' }}" />
|
|
|
|
{% endfor %}
|
2016-02-05 01:42:30 +01:00
|
|
|
{% endif %}
|
2015-03-02 21:06:05 +01:00
|
|
|
|
2016-02-02 03:07:13 +01:00
|
|
|
{% if layout.common-googlefonts %}
|
|
|
|
{% for font in layout.common-googlefonts %}
|
2016-02-05 01:42:30 +01:00
|
|
|
<link rel="stylesheet" href="//fonts.googleapis.com/css?family={{ font }}" />
|
2015-03-03 02:10:41 +01:00
|
|
|
{% endfor %}
|
2015-03-02 21:06:05 +01:00
|
|
|
{% endif %}
|
|
|
|
|
2016-02-05 01:42:30 +01:00
|
|
|
{% if page.ext-css %}
|
|
|
|
{% for css in page.ext-css %}
|
|
|
|
<link rel="stylesheet" href="{{ css }}" />
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
2015-03-03 02:10:41 +01:00
|
|
|
|
2016-02-05 01:42:30 +01:00
|
|
|
{% if page.css %}
|
|
|
|
{% for css in page.css %}
|
|
|
|
<link rel="stylesheet" href="{{ css | prepend: site.baseurl | replace: '//', '/' }}" />
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
2016-06-04 10:51:39 +02:00
|
|
|
|
2016-02-05 01:42:30 +01:00
|
|
|
{% if page.googlefonts %}
|
|
|
|
{% for font in page.googlefonts %}
|
|
|
|
<link rel="stylesheet" href="//fonts.googleapis.com/css?family={{ font }}" />
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
2016-06-04 10:51:39 +02:00
|
|
|
|
2015-03-31 09:30:08 +02:00
|
|
|
<!-- Facebook OpenGraph tags -->
|
|
|
|
<meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}" />
|
|
|
|
<meta property="og:type" content="website" />
|
|
|
|
{% if page.id %}
|
2016-07-26 04:40:21 +02:00
|
|
|
<meta property="og:url" content="{{ site.url }}{{ page.url }}" />
|
2015-03-31 09:30:08 +02:00
|
|
|
{% else %}
|
|
|
|
<meta property="og:url" content="{{ site.url }}{{ page.url | remove: '/index.html' | remove: '.html' }}" />
|
|
|
|
{% endif %}
|
2016-07-21 00:00:09 +02:00
|
|
|
{% if page.share-img %}
|
|
|
|
<meta property="og:image" content="{{ page.share-img }}" />
|
2015-03-31 09:39:09 +02:00
|
|
|
{% elsif site.avatar %}
|
2015-03-31 09:30:08 +02:00
|
|
|
<meta property="og:image" content="{{ site.url }}{{ site.avatar }}" />
|
|
|
|
{% else %}
|
|
|
|
<meta property="og:image" content="" />
|
|
|
|
{% endif %}
|
|
|
|
|
2016-07-21 00:00:09 +02:00
|
|
|
<!-- Twitter summary cards -->
|
|
|
|
<meta name="twitter:card" content="summary" />
|
|
|
|
<meta name="twitter:site" content="@{{ site.author.twitter }}" />
|
|
|
|
<meta name="twitter:creator" content="@{{ site.author.twitter }}" />
|
|
|
|
<meta name="twitter:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}" />
|
|
|
|
<meta name="twitter:description" content="{{ page.content | strip_html | xml_escape | truncatewords: 50 }}" />
|
|
|
|
{% if page.share-img %}
|
|
|
|
<meta name="twitter:image" content="{{ page.share-img }}" />
|
|
|
|
{% elsif site.avatar %}
|
|
|
|
<meta name="twitter:image" content="{{ site.url }}{{ site.avatar }}" />
|
|
|
|
{% endif %}
|
|
|
|
|
2015-03-31 09:49:22 +02:00
|
|
|
</head>
|