{% extends "basic/layout.html" %} {% block rootrellink %} {% if docstitle.startswith('Sage Documentation') %} {% else %} {% if pathto(master_doc).endswith('.html') %} {% else %} {% endif %} {% endif %} {{ super() }} {% endblock %} {% block extrahead %} {% endblock %} {%- block footer %} {{ super() }} {%- endblock %}