{#- This file was automatically generated - do not edit -#} {% import "partials/language.html" as lang with context %} {% block site_meta %} {% if page.meta and page.meta.description %} {% elif config.site_description %} {% endif %} {% if page.meta and page.meta.author %} {% elif config.site_author %} {% endif %} {% if page.canonical_url %} {% 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 %} {% if config.theme.palette %} {% set palette = config.theme.palette %} {% if palette.primary %} {% import "partials/palette.html" as map %} {% set primary = map.primary( palette.primary | replace(" ", "-") | lower ) %} {% endif %} {% endif %} {% include "partials/icons.html" %} {% endblock %} {% block libs %}{% endblock %} {% block fonts %} {% if config.theme.font != false %} {% set text = config.theme.font.text | d("Roboto", true) %} {% set code = config.theme.font.code | d("Roboto Mono", true) %} {% endif %} {% 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 | replace(" ", "-") | lower %} {% set primary = palette.primary | replace(" ", "-") | lower %} {% set accent = palette.accent | replace(" ", "-") | lower %} {% else %} {% endif %} {% set features = config.theme.features or [] %} {% if not config.theme.palette is mapping %} {% include "partials/javascripts/palette.html" %} {% endif %}
{% if page.toc | first is defined %} {% set skip = page.toc | first %} {{ lang.t('skip.link.title') }} {% endif %}
{% if self.announce() %} {% endif %}
{% if config.extra.version %} {% endif %} {% block header %} {% include "partials/header.html" %} {% endblock %}
{% block hero %}{% endblock %} {% block tabs %} {% if not "navigation.tabs.sticky" 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 not "toc.integrate" in features %} {% if page.meta and page.meta.hide %} {% set hidden = "hidden" if "toc" in page.meta.hide %} {% endif %} {% endif %} {% endblock %}
{% block content %} {% include "partials/content.html" %} {% endblock %}
{% include "partials/javascripts/content.html" %}
{% if "navigation.top" in features %} {% endif %}
{% block footer %} {% include "partials/footer.html" %} {% endblock %}
{% if config.extra.consent %} {% include "partials/javascripts/consent.html" %} {% endif %} {% block config %} {%- set app = { "base": base_url, "features": features, "translations": {}, "search": "assets/javascripts/workers/search.ecf98df9.min.js" | url } -%} {%- if config.extra.version -%} {%- set _ = app.update({ "version": config.extra.version }) -%} {%- endif -%} {%- set translations = app.translations -%} {%- for key in [ "clipboard.copy", "clipboard.copied", "search.config.lang", "search.config.pipeline", "search.config.separator", "search.placeholder", "search.result.placeholder", "search.result.none", "search.result.one", "search.result.other", "search.result.more.one", "search.result.more.other", "search.result.term.missing", "select.version.title" ] -%} {%- set _ = translations.update({ key: lang.t(key) }) -%} {%- endfor -%} {% endblock %} {% block scripts %} {% for path in config["extra_javascript"] %} {% endfor %} {% endblock %}