Skip to content

Commit b2f2510

Browse files
committed
don't elide middle levels of breadcrumb
1 parent fc335e7 commit b2f2510

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/breadcrumbs.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
{# Displays (and links to) the parent section(s) of the currently viewed page. #}
22
{%- block breadcrumbs %}
3-
{#
4-
If we have more than 3 parents (excluding the home page) then we remove
5-
The ones in the middle and add an ellipsis.
6-
#}
7-
{% if parents|length>2 %}
8-
{% set parents=[parents[0], {"title": '<i class="fa-solid fa-ellipsis"></i>'}, parents[-1]] %}
9-
{% endif %}
103

114
{#- Hide breadcrumbs on the home page #}
125
{% if title and pagename != root_doc %}

0 commit comments

Comments
 (0)