diff --git a/sphinx_pythia_theme/layout.html b/sphinx_pythia_theme/layout.html index 52fc3a5..97f993a 100644 --- a/sphinx_pythia_theme/layout.html +++ b/sphinx_pythia_theme/layout.html @@ -14,7 +14,11 @@ {%- endblock %} + {%- if theme_page_layouts and pagename in theme_page_layouts %}
+ {%- else %} +
+ {%- endif %}
{%- block docs_sidebar %} {%- if sidebars %} diff --git a/sphinx_pythia_theme/topbar.html b/sphinx_pythia_theme/topbar.html deleted file mode 100644 index 5020e15..0000000 --- a/sphinx_pythia_theme/topbar.html +++ /dev/null @@ -1,35 +0,0 @@ -
-
- -
- {% if theme_single_page != True %} - - {% endif %} - {% include "topbar/download.html" %} - {% include "topbar/repobuttons.html" %} - {% include "topbar/fullscreen.html" %} - {% include "topbar/launchbuttons.html" %} -
- - -
- {% set page_toc = generate_toc_html() %} - - {%- if page_toc | length >= 1 %} -
- {{ translate(theme_toc_title) }} -
- - {%- endif %} -
-
-
\ No newline at end of file