{%- block breadcrumbs %}
{#
If we have more than 3 parents (excluding the home page) then we remove
The ones in the middle and add an ellipsis.
This code is from
https://github.com/pydata/pydata-sphinx-theme/blob/main/src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/breadcrumbs.html
#}
{% if parents|length>2 %}
{% set parents=[parents[0], {"title": ''}, parents[-1]] %}
{% endif %}
{#- Hide breadcrumbs on the home page #}
{% if title and pagename != root_doc %}
{% endif %}
{%- endblock %}