{# We extend page.html instead of layout.html because readthedocs uses its own layout.html. See https://github.com/rtfd/readthedocs.org/issues/152 for more details. Essentially, in order to get our changes in, we must not extend layout.html. #} {% extends "!page.html" %} {% block extrahead %} {{ super() }} {% endblock %}