{% extends "!layout.html" %} {# Make sure the metatags variable is present, also if the meta directive has not been used #} {% if metatags is not defined %} {% set metatags = '' %} {% endif %} {# Use the meta RST directive description if defined, otherwise use the default description #} {% set page_description = get_meta_tag_content('description', metatags) %} {% if not page_description %} {% set page_description = default_description %} {% set metatags = metatags + '' % page_description %} {% endif %} {% block extrahead %} {{ super() }} {% endblock %} {# From https://github.com/sphinx-doc/sphinx/blob/master/sphinx/themes/haiku/layout.html #} {% block content %}
{#{%- if display_toc %}

{{ _('Table of Contents') }}

{{ toc }}
{%- endif %}#} {% block body %}{% endblock %}
{% endblock %}