{% block body %}{% endblock %}
{% if self.comments()|trim %}
{% block comments %}{% endblock %}
{% endif%}
diff --git a/theme/layout.html b/theme/layout.html index fb9dc4449..fc608fa4c 100644 --- a/theme/layout.html +++ b/theme/layout.html @@ -1,260 +1,261 @@ {# 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 %}