{% include "templates/dark.html" %} {% if page.title %}{{ page.title }} - {% endif %}{{ config.site_name }} {% include "templates/seo.html" %} {%- if config.theme.favicon %} {%- else %} {%- endif %} {% if "codehilite" in config.markdown_extensions %} {% include "templates/pygments.html" %} {% endif %} {%- for path in config.extra_css %} {%- endfor %} {% if page.meta.extra_css %} {%- for path in page.meta.extra_css %} {%- endfor %} {% endif %} {% if "pymdownx.arithmatex" in config.markdown_extensions %} {% include "templates/katex.html" %} {% endif %} {% if "shadcn.extensions.echarts.alpha" in config.markdown_extensions %} {% include "templates/echarts.html" %} {% endif %} {% if "shadcn/excalidraw" in config.plugins and is_dev_server %} {% include "templates/excalidraw.html" %} {% endif %} {# Resolve hide flags from page frontmatter #} {% set hide_nav = page.meta and page.meta.hide is defined and 'navigation' in page.meta.hide %} {% set hide_toc = page.meta and page.meta.hide is defined and 'toc' in page.meta.hide %}
{% include "templates/header.html" %}
Beta This project is experimental. Use at your own risk →
{% if hide_nav %} {# Full-width layout: no sidebar grid #}
{% include "templates/page.html" %} {% include "templates/bottom_navigation.html" %} {% include "templates/bottom_sidebar.html" %}
{% if not hide_toc %} {% endif %}
{% else %} {# Standard layout: sidebar + content + optional TOC #}
{% include "templates/page.html" %} {% include "templates/bottom_navigation.html" %} {% include "templates/bottom_sidebar.html" %}
{% if not hide_toc %} {% endif %}
{% endif %}
{% include "templates/footer.html" %}
{%- for script in config.extra_javascript %} {% include "templates/script.html" %} {%- endfor %} {% if page.meta.extra_javascript %} {%- for script in page.meta.extra_javascript %} {% include "templates/script.html" %} {%- endfor %} {% endif %} {% if config.theme.show_stargazers %} {% endif %} {% if "mkdocstrings" in config.plugins %} {% include "templates/mkdocstrings.html" %} {% endif %} {% if "shadcn.extensions.codexec" in config.markdown_extensions %} {% include "templates/codexec.html" %} {% endif %} {% include "templates/speculation_rules.html" %}