{%- if d.article_header_start or d.article_header_end or d.top_buttons %}
{{ components(d.article_header_start) }}
{{ components(d.article_header_end) }} {%- for button in d.top_buttons %} {%- if button == "edit" %} {%- call icon_button(_("Edit this page"), "", _("Edit this page"), href=d.sources.edit, tooltip_class="tooltip-left") %}{{ d.icon("pencil", "size-4") }}{% endcall %} {%- elif button == "view" %} {%- call icon_button(_("View this page's source"), "", _("View this page's source"), href=d.sources.view, tooltip_class="tooltip-left") %}{{ d.icon("file-code", "size-4") }}{% endcall %} {%- endif %} {%- endfor %}
{%- endif %} {%- if d.page_toc_count and 'page-toc.html' in d.secondary_sidebar_items %}
{{ _("On this page") }}
{%- endif %}
{% block body %}{% endblock %}
{{ components(d.article_footer_items) }} {%- if d.show_prev_next and (prev or next) %} {%- endif %} {{ components(d.content_footer_items) }}