{#- The docs theme of lhtml-site: top bar with search, side menu, "On this page", breadcrumb, previous / next, light and dark. Its settings are the `docs` keyword of the configuration (keywords: docs: ...), all optional; see the README of the theme. -#} {%- set d = docs if docs is defined and docs else {} -%} {%- set store = d.storage or 'docs' -%} {% block head %} {{ pageTitle }}{% if pageID != 0 and d.title %} - {{ d.title }}{% endif %} {% if page.description %}{% endif %} {% if page.not_found %}{% endif %} {% if page.math %}{% endif %} {% for file in d.css or [] %} {% endfor -%} {% for file in d.js or [] %} {% endfor -%} {% if page.math and page.math_render != 'build' %} {% endif %} {% endblock %}
{%- if d.logo_svg %} {%- elif d.logo %} {%- endif %} {{ d.name or 'Docs' }}{% if d.sub %}{{ d.sub }}{% endif %}
{%- if d.repo_url %} {%- endif %}
{#- 404.html (page.not_found, lhtml_site/not_found.py): out of the search index, no pager #}
{#- breadcrumb Section > Group > Page above the title (the section is the eyebrow label); section and group link to the index page of the section when the setting `section_index` gives one (group anchor = its heading id there, the group name in lower case with hyphens). Not indexed by the search. -#} {% if page.section %}{% set sec_urls = d.section_index or {} %}{% set is_index = '/' not in (page.dir or '').strip('/') %}{% set sec_url = sec_urls.get(page.section) %} {% endif %} {% block content %} {% endblock %}
{%- if not page.not_found %} {%- endif %} {%- if d.footer %}
{{ d.footer }}
{%- endif %}