summaryrefslogtreecommitdiffstats
path: root/src/pallets_sphinx_themes/themes/pocoo/layout.html
blob: 3745303ca972fe8ca1dd9a04d9189b0a4bd709e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 %}