{# TEMPLATE VAR SETTINGS #} {%- set url_root = pathto('', 1) %} {%- if url_root == '#' %}{% set url_root = '' %}{% endif %} {%- if not embedded and docstitle %} {%- set titlesuffix = " | "|safe + docstitle|e %} {%- else %} {%- set titlesuffix = "" %} {%- endif %} {%- set lang_attr = 'en' if language == None else (language | replace('_', '-')) %} {% import 'theme_variables.jinja' as theme_variables %} {{ metatags }} {% block htmltitle %} {{ title|striptags|e }}{{ titlesuffix }} {% endblock %} {# FAVICON #} {# CANONICAL URL #} {% if theme_canonical_url %} {% endif %} {# CSS #} {# OPENSEARCH #} {% if not embedded %} {% if use_opensearch %} {% endif %} {% endif %} {%- for css in css_files %} {%- if css|attr("rel") %} {%- else %} {%- endif %} {%- endfor %} {%- for cssfile in extra_css_files %} {%- endfor %} {%- block linktags %} {%- if hasdoc('about') %} {%- endif %} {%- if hasdoc('genindex') %} {%- endif %} {%- if hasdoc('search') %} {%- endif %} {%- if hasdoc('copyright') %} {%- endif %} {%- if next %} {%- endif %} {%- if prev %} {%- endif %} {%- endblock %} {%- block extrahead %} {% endblock %} {# Keep modernizr in head - http://modernizr.com/docs/#installing #} {% include "fonts.html" %}
{% block extrabody %} {% endblock %} {# SIDE NAV, TOGGLES ON MOBILE #}
{% include "breadcrumbs.html" %}
Shortcuts
{% if theme_pytorch_project == 'tutorials' %} {% endif %} {%- block content %} {% if theme_style_external_links|tobool %}
{% include "versions.html" %} {% if not embedded %} {% if sphinx_version >= "1.8.0" %} {%- for scriptfile in script_files %} {{ js_tag(scriptfile) }} {%- endfor %} {% else %} {%- for scriptfile in script_files %} {%- endfor %} {% endif %} {% endif %} {%- block footer %} {% endblock %} {% include "cookie_banner.html" %}