mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Added hidden text for home link in the breadcrumbs. (#1384)
* Added hidden text for home link in breadcrumbs. * Update breadcrumbs.html * Update breadcrumbs.html
This commit is contained in:
parent
478ef67053
commit
510c620621
@ -22,7 +22,7 @@
|
|||||||
<div role="navigation" aria-label="{{ _('Page navigation') }}">
|
<div role="navigation" aria-label="{{ _('Page navigation') }}">
|
||||||
<ul class="wy-breadcrumbs">
|
<ul class="wy-breadcrumbs">
|
||||||
{%- block breadcrumbs %}
|
{%- block breadcrumbs %}
|
||||||
<li><a href="{{ pathto(master_doc) }}" class="icon icon-home"></a></li>
|
<li><a href="{{ pathto(master_doc) }}" class="icon icon-home" aria-label="Home"></a></li>
|
||||||
{%- for doc in parents %}
|
{%- for doc in parents %}
|
||||||
<li class="breadcrumb-item"><a href="{{ doc.link|e }}">{{ doc.title }}</a></li>
|
<li class="breadcrumb-item"><a href="{{ doc.link|e }}">{{ doc.title }}</a></li>
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user