{% import "macros/marginals.html" as marginals %} {% import "macros/post.html" as post %} {% include "head.html" %}
{% set current_lang = config.default_language %} {% if page %} {% set current_lang = page.lang %} {% elif section %} {% set current_lang = section.lang %} {% endif %} {{ marginals::navbar(current_lang=current_lang) }}
{% block pre_content %} {% endblock pre_content %}
{% block content %}

{{ page.title }}

{% if page.toc and page.extra.toc %} {{ post::toc(toc=page.toc) }} {% endif %} {{ page.content | safe }} {% if page.taxonomies.tags %} {{ post::tags(tags=page.taxonomies.tags) }} {% endif %} {% endblock content %}