{% extends "base.html" %}
{% block html_lang %}{{ page.lang }}{% endblock %}

{% block title %}{{ SITENAME }} - {{ page.title|striptags }}{%endblock%}

{% block head %}
{% if page.status == "hidden" %}
<meta name="robots" content="noindex">
<meta name="robots" content="nofollow">
<meta name="robots" content="noarchive">
{% endif %}

  {{ super() }}

  {% import 'translations.html' as translations with context %}
  {% if translations.entry_hreflang(page) %}
    {{ translations.entry_hreflang(page) }}
  {% endif %}

  <link rel="canonical" href="{{ SITEURL }}/{{ page.url }}" /> 

  
{% endblock %}

{% block somemorehead %}
  {% if page.specialcss %}
  <link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/{{ page.specialcss }}">
  {% endif %}

{% endblock somemorehead %}

<section id="content" class="body">
{% block content %}
  <header>
    <h1>{{ page.title }}</h1>

    {% import 'translations.html' as translations with context %}
    {{ translations.translations_for(page) }}

  </header>
  <div>

    {{ page.content }}

    {% if page.modified %}
    <footer id="post-info">    
      <p>Last updated: {{ page.locale_modified }}</p>
    </footer>
    {% endif %}
  </div>
</section>
{% endblock %}
