diff --git a/openstackdocstheme/theme/openstackdocs/layout.html b/openstackdocstheme/theme/openstackdocs/layout.html index cf27f9ed..1b9f74ba 100644 --- a/openstackdocstheme/theme/openstackdocs/layout.html +++ b/openstackdocstheme/theme/openstackdocs/layout.html @@ -1,24 +1,8 @@ - - - - -{% block header %}{% endblock %} - {{ theme_root_title|striptags }}: {{ title|striptags }} - - - -{{ metatags }} +{% extends "basic/layout.html" %} + +{% block extrahead %} + {% include 'css.html' %} -{%- for cssfile in css_files %} - -{%- endfor %} -{%- for js in script_files %} - -{%- endfor %} - {# FAVICON #} -{% if favicon %} - -{% endif %} {% if theme_analytics_tracking_code %} {% endif %} - - +{% endblock %} + +{%- block header %} {% include 'header.html' %} +{% endblock %} + +{%- block relbar1 %}{% endblock %} + +{%- block content %}
@@ -80,6 +70,11 @@ ga('send', 'pageview'); {% include 'sidebartoc.html' %}
+{%- endblock %} + +{%- block relbar2 %}{% endblock %} + +{%- block footer %} {% include 'footer.html' %} {% include 'script_footer.html' %} {% block script_footer %}{% endblock %} @@ -99,5 +94,4 @@ ga('send', 'pageview');
{% endif %} - - +{%- endblock %}