Skip to content

Commit

Permalink
Fix broken styling of breadcrumbs in readthedocs theme
Browse files Browse the repository at this point in the history
Commit 3c3670d left it half way between the old and new style
  • Loading branch information
oprypin committed Sep 10, 2023
1 parent 347c3a9 commit c070dd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mkdocs/themes/readthedocs/breadcrumbs.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="{{ nav.homepage.url|url }}" class="icon icon-home" aria-label="{% trans %}Docs{% endtrans %}"></a> &raquo;</li>
<li><a href="{{ nav.homepage.url|url }}" class="icon icon-home" aria-label="{% trans %}Docs{% endtrans %}"></a></li>
{%- if page %}
{%- for doc in page.ancestors[::-1] %}
{%- if doc.link %}
<li class="breadcrumb-item"><a href="{{ doc.link|e }}">{{ doc.title }}</a></li>
{%- else %}
<li>{{ doc.title }} &raquo;</li>
<li class="breadcrumb-item">{{ doc.title }}</li>
{%- endif %}
{%- endfor %}
<li class="breadcrumb-item active">{{ page.title }}</li>
Expand Down

0 comments on commit c070dd0

Please sign in to comment.