{% import "partials/language.html" as lang %} {% block site_meta %} {% if config.site_description %} {% endif %} {% if page.canonical_url %} {% endif %} {% if config.site_author %} {% endif %} {% if config.site_favicon %} {% else %} {% endif %} {% endblock %} {% block htmltitle %} {% if page.title %} {{ page.title }} - {{ config.site_name }} {% elif config.site_description %} {{ config.site_name }} - {{ config.site_description }} {% else %} {{ config.site_name }} {% endif %} {% endblock %} {% block libs %} {% endblock %} {% block fonts %} {% if config.extra.font != "none" %} {% set text = config.extra.get("font", {}).text | default("Roboto") %} {% set code = config.extra.get("font", {}).code | default("Roboto Mono") %} {% set font = text + ':300,400,400i,700|' + code | replace(' ', '+') %} {% endif %} {% endblock %} {% block styles %} {% if config.extra.palette %} {% endif %} {% for path in extra_css %} {% endfor %} {% endblock %} {% block extrahead %}{% endblock %} {% set palette = config.extra.get("palette", {}) %} {% set primary = palette.primary | replace(" ", "-") | lower %} {% set accent = palette.accent | replace(" ", "-") | lower %} {% if primary or accent %} {% else %} {% endif %} {% set platform = config.extra.repo_icon or config.repo_url %} {% if "github" in platform %} {% include "assets/images/icons/github-1da075986e.svg" %} {% elif "gitlab" in platform %} {% include "assets/images/icons/gitlab-5ad3f9f9e5.svg" %} {% elif "bitbucket" in platform %} {% include "assets/images/icons/bitbucket-670608a71a.svg" %} {% endif %} {% block header %} {% include "partials/header.html" %} {% endblock %}
{% block site_nav %} {% if nav %}
{% include "partials/nav.html" %}
{% endif %} {% if page.toc %}
{% include "partials/toc.html" %}
{% endif %} {% endblock %}
{% if config.edit_uri %} edit {% endif %} {% block content %} {% if not "\x3ch1 id=" in page.content %}

{{ page.title | default(config.site_name, true)}}

{% endif %} {{ page.content }} {% endblock %}
{% block footer %} {% include "partials/footer.html" %} {% endblock %}
{% block scripts %} {% for path in extra_javascript %} {% endfor %} {% endblock %} {% block analytics %} {% if config.google_analytics %} {% endif %} {% endblock %}