{% block extrabody %} {% endblock %} {% include "components/topbar.html" %} {% if theme_breadcrumbs_at_top %} {% include "components/breadcrumbs.html" %} {% endif %} {% if not theme_content_padding_top %} {% if not theme_breadcrumbs_at_top and not show_topbar %} {%- set content_padding_top = '2rem' %} {% else %} {%- set content_padding_top = '2rem' %} {% endif %} {% else %} {%- set content_padding_top = theme_content_padding_top %} {% endif %} {% if not theme_content_margin_left %} {% if theme_sidebar_right %} {%- set content_margin_left = '1rem' %} {% else %} {%- set content_margin_left = '0.5rem' %} {% endif %} {% else %} {%- set content_margin_left = theme_content_margin_left %} {% endif %} {% if not theme_content_padding_left %} {% if theme_sidebar_right %} {%- set content_padding_left = '1rem' %} {% else %} {%- set content_padding_left = '0.5rem' %} {% endif %} {% else %} {%- set content_padding_left = theme_content_padding_left %} {% endif %}
{# SIDE NAV, TOGGLES ON MOBILE #} {% if not theme_sidebar_right %}
{% include "components/sidebar.html" %}
{% endif %}
{%- block content %} {%- block document %} {% block body %} {{ body }} {% endblock %} {% block comments %}{% endblock %} {% endblock %} {% endblock %}
{% if theme_sidebar_right %}
{% include "components/sidebar.html" %}
{% endif %}
{% if not embedded %} {%- for scriptfile in script_files %} {%- endfor %} {% endif %} {% include "components/footer.html" %}