{%- extends "cloud/layout.html" %} {% set css_files = css_files + ["_static/pygresql.css"] %} {# This layout adds a page header above the standard layout. It also removes the relbars from all pages that are not part of the core documentation in the contents/ directory, adapting the navigation bar (breadcrumb) appropriately. #} {% set is_content = pagename.startswith(('contents/', 'genindex', 'modindex', 'py-', 'search')) %} {% if is_content %} {% set master_doc = 'contents/index' %} {% set parents = parents[1:] %} {% endif %} {% block header %} {% endblock %} {% block relbar1 -%} {%- if is_content -%} {{ super() }} {% else %}
{%- endif -%} {%- endblock %} {% block relbar2 -%} {%- if is_content -%} {{ super() }} {%- else -%}
{%- endif -%} {%- endblock %} {% block content -%} {%- if is_content -%} {{ super() }} {%- else -%}
{{ super() }}
{%- endif -%} {%- endblock %}