diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 16:12:08 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 16:12:08 +0000 |
commit | 0d286042a60f80eff5ced1f1800395537429b9d2 (patch) | |
tree | ba4a4b89d414179cf1dfac3354f317797e3fd832 /src/pallets_sphinx_themes/themes/pocoo/layout.html | |
parent | Initial commit. (diff) | |
download | python-pallets-sphinx-themes-upstream.tar.xz python-pallets-sphinx-themes-upstream.zip |
Adding upstream version 2.0.3.upstream/2.0.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/pallets_sphinx_themes/themes/pocoo/layout.html')
-rw-r--r-- | src/pallets_sphinx_themes/themes/pocoo/layout.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/pallets_sphinx_themes/themes/pocoo/layout.html b/src/pallets_sphinx_themes/themes/pocoo/layout.html new file mode 100644 index 0000000..3745303 --- /dev/null +++ b/src/pallets_sphinx_themes/themes/pocoo/layout.html @@ -0,0 +1,33 @@ +{% extends "basic/layout.html" %} + +{% set metatags %} + {{- metatags }} + <meta name="viewport" content="width=device-width, initial-scale=1"> +{%- endset %} + +{% block sidebarlogo %} + {% if pagename != "index" or theme_index_sidebar_logo %} + {{ super() }} + {% endif %} +{% endblock %} + +{% set version_warning = current_version.banner() if current_version %} + +{% block document %} + {%- if version_warning %} + <p class="version-warning"><strong>Warning:</strong> {{ version_warning }}</p> + {%- endif %} + {{- super() }} +{%- endblock %} + +{% block relbar2 %}{% endblock %} + +{% block sidebar2 %} + <span id="sidebar-top"></span> + {{- super() }} +{%- endblock %} + +{% block footer %} + {{ super() }} + {{ js_tag("_static/version_warning_offset.js") }} +{% endblock %} |