{# Master layout template for Coeus Sphinx Theme. #} {%- set lang_attr = "en" if language == None else (language|replace('_','-')) -%} {%- if not embedded and docstitle -%} {%- if title == docstitle -%} {%- set titlesuffix = "" -%} {%- else -%} {%- set titlesuffix = " | "|safe + docstitle|e -%} {%- endif -%} {%- else -%} {%- set titlesuffix = "" -%} {%- endif -%} = (7, 2) %}data-content_root="{{ content_root }}"{% endif %} > {{ metatags }} {%- block htmltitle %} {{ title|striptags|e if title else docstitle }} {%- endblock htmltitle %} {%- for css in css_files %} {%- if css|attr("filename") %} {{ css_tag(css) }} {%- else -%} {%- endif %} {%- endfor %} {%- if pageurl %} {%- endif %} {%- set _favicon_url = favicon_url | default(pathto('_static/' + (favicon or ""), 1)) %} {%- if favicon_url or favicon %} {%- endif %} {%- block linktags %} {%- if hasdoc('search') %} {%- endif %} {%- endblock linktags %} {%- block extrahead %}{%- endblock extrahead %} {%- if sidebars|length > 0 %}
{%- endif %} {%- block top_ribbon %} {% if top_ribbon %}
{{ top_ribbon }}
{% endif %} {%- endblock top_ribbon %}
{%- block header %} {%- include "header.html" %} {%- endblock header %}
{%- set only_main_nav = sidebars == ["sidebar_navbar_links.html"] %} {%- if not only_main_nav and sidebars|length > 0 -%} {% if not is_homelander %}
{%- else -%}
{% endif %} {%- else -%}
{%- endif -%} {%- block sidebar %} {%- if sidebars|length > 0 and not is_homelander %} {%- include "sidebar.html" %} {%- endif %} {%- endblock sidebar %} {%- block main %} {% if not is_homelander %}
{%- else -%}
{% endif %} {% if html_coeus_documentation_hero_type and html_coeus_documentation_hero_icon and html_coeus_documentation_hero_gradient %}
{% endif %} {%- block body %} {%- endblock %}
{%- endblock main %}
{%- block footer %} {%- include "footer.html" %} {%- endblock footer %}
{% block scripts %} {%- for js in script_files %} {{ js_tag(js) }} {%- endfor %} {% endblock scripts %}