{# Point at the book theme layout by name so Jinja does not resolve layout.html to this file. #}
{# PyData/PST 会从 localStorage 与 prefers-color-scheme 读主题;在此处于主题 CSS 之后强制浅色,与文档站一致。#}
{% extends "sphinx_book_theme/layout.html" %}
{% block css %}
{{ super() }}
{# Linked here (not only via add_css_file in setup) so assets load when the theme is picked from html_theme_path and the entry-point extension is skipped. #}
{% if theme_turingq_company_chrome %}
{% endif %}
{% endblock %}
{% block docs_navbar %}
{% if theme_turingq_company_chrome %}
{% include "site-header.html" %}
{% else %}
{{ super() }}
{% endif %}
{% endblock %}
{% block scripts_end %}
{# Same rationale as CSS: must work without running turingq_sphinx_theme setup(). #}
{% if theme_turingq_company_chrome %}
{% endif %}
{{ super() }}
{% endblock %}
{% block footer %}
{{ super() }}
{% if theme_turingq_company_chrome %}
{% include "site-footer.html" %}
{% endif %}
{% endblock %}