{% if page.thumb_image %}

{% if page.thumb_image contains '://' %}
  {% assign thumb_image = page.thumb_image %}
{% else %}
  {% assign thumb_image = page.thumb_image | asset_path | absolute_url %}
{% endif %}

{% else %}

{% assign thumb_image = 'og-image.jpg' | asset_path | absolute_url %}

{% endif %} <head>

<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>{{ site.name }} | {{ page.title }}</title>
<meta name="description" content="{{ page.description }}">
<meta name="viewport" content="width=device-width, initial-scale=1">

<meta property="og:title" content="{{ page.title | escape }}">
<meta property="og:type" content="website">
<meta property="og:url" content="{{ page.url | absolute_url }}">
<meta property="og:description" content="{{ page.description }}">
<meta property="og:site_name" content="{{ site.name }}">
<meta property="og:image" content="{{ thumb_image }}">

<meta name="twitter:card" content="summary">
<meta name="twitter:url" content="{{ page.url | absolute_url }}">
<meta name="twitter:title" content="{{ page.title | escape }}">
<meta name="twitter:description" content="{{ page.description }}">
<meta name="twitter:image" content="{{ thumb_image }}">

<link rel="apple-touch-icon" href="{% asset_path apple-touch-icon.png %}">
<link href="{{ 'feed.xml' | absolute_url }}" type="application/rss+xml" rel="alternate" title="{{ site.name }} Last 10 blog posts" />

{% if site.local_fonts %}
  {% include stylesheet.html path="fonts" %}
{% endif %}

{% if site.blog_theme == "light" %}
  {% include stylesheet.html path="light" %}
{% else %}
  {% include stylesheet.html path="dark" %}
{% endif %}

</head>