{# hilster_theme/layout.html ~~~~~~~~~~~~~~~~~~~~~~~~~ Sphinx layout template for the HILSTER theme. :copyright: Copyright 2020 HILSTER GmbH :license: proprietary #} {%- extends "sphinx_rtd_theme/layout.html" %} {% set favicon = 'favicon.svg' %} {% set logo = 'logo.svg' %} {% set show_sphinx = False %} {% set show_copyright = False %} {% set theme_display_version = False %} {% set theme_logo_only = True %} {% block sidebartitle %} {% if logo and theme_logo_only %} {% else %} {{ project }} {% endif %} {% if logo %} {# Not strictly valid HTML, but it's the only way to display/scale it properly, without weird scripting or heaps of work #} {% endif %} {% if theme_display_version %} {%- set nav_version = version %} {% if READTHEDOCS and current_version %} {%- set nav_version = current_version %} {% endif %} {% if nav_version %}
{{ nav_version }}
{% endif %} {% endif %}
{{ project + ' ' + version }}
{% include "searchbox.html" %} {% endblock %}