<!DOCTYPE html>
<html lang="{% if page and page.lang %}{{ page.lang }}{% else %}{{ site.locale|default('en') }}{% endif %}">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="robots" content="index, follow" />
    <meta name="author" content="{{ site.author }}" />
    <meta name="description" content="{% if page and page.description %}{{ page.description }}{% else %}{{ site.description|default('') }}{% endif %}" />
    <meta name="keywords" content="{% if page and page.keywords %}{{ page.keywords|join(', ') }}{% else %}{{ site.keywords|join(', ') }}{% endif %}" />
    <title>{% if page and page.title %}{{ page.title }} - {% endif %}{{ site.name }}</title>
    <link rel="shortcut icon" href="/favicon.ico">
    {% if canonical_link_html %}
    {{ canonical_link_html|safe }}
    {% endif %}
    {% if x_card_html %}
    {{ x_card_html|safe }}
    {% endif %}
    {% block head %}{% endblock %}
  </head>
  <body>
    {% block content %}{% endblock %}
  </body>
</html>
