{% include "templates/seo.html" %} {% if config.theme.pygments_style %} {% endif %} {%- for path in config.extra_css %} {%- endfor %} {% 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 %}
{% include "templates/header.html" %}
{% include "templates/page.html" %}
{% include "templates/bottom_sidebar.html" %}
{%- for script in config.extra_javascript %} {%- if script.path %} {# Detected MkDocs 1.5+ which has `script.path` and `script_tag` #} {{ script | script_tag }} {%- else %} {# Fallback - examine the file name directly #} {% if script.endswith('.mjs') %} {% else %} {% endif %} {%- endif %} {%- endfor %}