{% block site_meta %} {% if page.canonical_url %} {% endif %} {% if page.previous_page %} {% endif %} {% if page.next_page %} {% endif %} {% endblock %} {% block htmltitle %} {% if page.meta and page.meta.title %} {{ page.meta.title }} - {{ config.site_name }} {% elif page.title and not page.is_homepage %} {{ page.title | striptags }} - {{ config.site_name }} {% else %} {{ config.site_name }} {% endif %} {% endblock %} {% block styles %} {% endblock %} {% for path in config.extra_css %} {% endfor %} {% include "partials/javascripts/base.html" %} {% block analytics %} {% include "partials/integrations/analytics.html" %} {% endblock %} {% block extrahead %}{% endblock %} {% set direction = config.theme.direction or lang.t("direction") %} {% if config.theme.palette %} {% set palette = config.theme.palette %} {% if not palette is mapping %} {% set palette = palette | first %} {% endif %} {% set scheme = palette.scheme | d("default", true) %} {% set primary = palette.primary | d("indigo", true) %} {% set accent = palette.accent | d("indigo", true) %} {% else %} {% endif %} {% set features = config.theme.features or [] %}
{% if page.toc | first is defined %} {% set skip = page.toc | first %} {{ lang.t("action.skip") }} {% endif %}
{% if self.announce() %} {% endif %}
{% block header %} {% include "partials/header.html" %} {% endblock %}
{% block hero %}{% endblock %} {% block tabs %} {% if "navigation.tabs.sticky" not in features %} {% if "navigation.tabs" in features %} {% include "partials/tabs.html" %} {% endif %} {% endif %} {% endblock %}
{% block site_nav %} {% if nav %} {% if page.meta and page.meta.hide %} {% set hidden = "hidden" if "navigation" in page.meta.hide %} {% endif %} {% endif %} {% if "toc.integrate" not in features %} {% if page.meta and page.meta.hide %} {% set hidden = "hidden" if "toc" in page.meta.hide %} {% endif %} {% endif %} {% endblock %} {% block container %}
{% if "navigation.path" in features %} {% include "partials/path.html" %} {% endif %}
{% block content %} {% include "partials/content.html" %} {% endblock %}
{% endblock %} {% include "partials/javascripts/content.html" %}
{% if "navigation.top" in features %} {% include "partials/top.html" %} {% endif %}
{% block footer %} {% include "partials/footer.html" %} {% endblock %}
{% if "navigation.instant.progress" in features %} {% include "partials/progress.html" %} {% endif %} {% block config %} {% set _ = namespace() %} {% endblock %}