{# Displays (and links to) the parent section(s) of the currently viewed page. #} {%- 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. #} {% 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 %}