{% extends "!layout.html" %} {% block extrahead %} {{ super() }} {% if theme_llm_disabled|lower != 'true' and theme_llm_disabled != true %} {% if page_meta_description %} {% elif theme_llm_description %} {% else %} {% endif %} {% if theme_llm_domain %} {% set llm_base = ('https://' ~ theme_llm_domain ~ '/' ~ theme_llm_base_path)|replace('//', '/')|replace('https:/', 'https://') %} {% elif theme_canonical_url %} {% set llm_base = theme_canonical_url %} {% else %} {% set llm_base = '' %} {% endif %} {% set llm_base = llm_base.rstrip('/') %} {% endif %} {% if theme_show_lf_header|lower != 'true' and theme_show_lf_header != true %} {% endif %} {% if not theme_show_lf_footer %} {% endif %} {% if (theme_pytorch_project == 'tutorials' or has_sphinx_gallery) and github_user and github_repo %} {% endif %} {% if theme_runllm_assistant_id %} {% endif %} {{ super() }} {% endblock%} {% block html_tag %} {% endblock %} {% block body_tag %}
{% include "announcement_banner.html" %} {% if theme_show_lf_header|lower == 'true' or theme_show_lf_header == true %} {% include "pytorch_header.html" %} {% endif %} {{ super() }} {% endblock %} {% block docs_body %} {% include "components/searchbox.html" %}