{%- extends "basic/layout.html" -%} {%- block css %} {%- include "partials/head.html" -%} {{ super() }} {%- include "partials/pygments_sync.html" -%} {%- endblock %} {%- block extrahead %} {{ super() }} {%- if doxtr_favicon_dark_url %} {%- endif %} {%- endblock %} {%- block body_tag %}{% endblock -%} {%- block header %} {# Theme author guidance: every Doxtr HTML theme must support announcement_banner (empty by default) for end users and review/staging tooling (e.g. doxtr test), and never pre-fill it with a theme/layout self-description bar. Child themes overriding block header should call {{ self.announcement() }} or preserve this block. #} {%- block announcement %} {%- if theme_announcement_banner %}
{{ theme_announcement_banner }}
{%- endif %} {%- endblock %} {{ theme_skip_link_label|default('Skip to main content')|e }} {% include "partials/header.html" %} {%- endblock %} {%- block relbar1 %}{% endblock %} {%- block relbar2 %}{% endblock %} {%- block content %} {%- set _has_left = theme_show_nav|tobool -%} {%- set _has_right = (theme_show_toc|tobool and display_toc) -%}
{%- if _has_left %} {% include "partials/sidebar_left.html" %} {%- endif %}
{%- if parents %} {%- endif %}
{% block body %}{% endblock %}
{%- if theme_show_prev_next|tobool and (prev or next) %} {%- endif %}
{%- if _has_right %} {% include "partials/sidebar_right.html" %} {%- endif %}
{% include "partials/drawer.html" %} {%- endblock %} {%- block footer %} {% include "partials/footer.html" %} {%- include "partials/theme_images_sync.html" -%} {%- endblock %}