+ {% block body %}{% endblock %}
+
+ {% if self.comments()|trim %}
+
+ {% block comments %}{% endblock %}
+
+ {% endif%}
+ diff --git a/docs/source/_templates/layout.html b/docs/source/_templates/layout.html index 302a56df..d8d59c8c 100644 --- a/docs/source/_templates/layout.html +++ b/docs/source/_templates/layout.html @@ -1,5 +1,81 @@ -{% extends "!layout.html" %} -{% block extrahead %} +{# TEMPLATE VAR SETTINGS #} +{%- set url_root = pathto('', 1) %} +{%- if url_root == '#' %}{% set url_root = '' %}{% endif %} +{%- if not embedded and docstitle %} + {%- set titlesuffix = " — "|safe + docstitle|e %} +{%- else %} + {%- set titlesuffix = "" %} +{%- endif %} +{%- set lang_attr = 'en' if language == None else (language | replace('_', '-')) %} + + + +
+ + {{ metatags }} + + {% block htmltitle %} +