File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
< div role ="navigation " aria-label ="breadcrumbs navigation ">
2
2
< ul class ="wy-breadcrumbs ">
3
3
< li > < a href ="{{ homepage_url }} "> Docs v:{{ config.extra.current_version }}</ a > »</ li >
4
- {% for doc in current_page.ancestors %}
4
+ {% if current_page %}{% for doc in current_page.ancestors %}
5
5
{% if doc.link %}
6
6
< li > < a href ="{{ doc.link|e }} "> {{ doc.title }}</ a > »</ li >
7
7
{% else %}
8
8
< li > {{ doc.title }} »</ li >
9
9
{% endif %}
10
10
{% endfor %}
11
+ {% endif %}
11
12
{% if current_page %}< li > {{ current_page.title }}</ li > {% endif %}
12
13
< li class ="wy-breadcrumbs-aside ">
13
14
{% if repo_url %}
Original file line number Diff line number Diff line change 25
25
26
26
27
27
</ div >
28
- < span > < a href ="{{ previous_page.url }} " style ="color: #fcfcfc; "> « Previous</ a > </ span >
28
+ {% if previous_page %} < span > < a href ="{{ previous_page.url }} " style ="color: #fcfcfc; "> « Previous</ a > </ span > {% endif %}
29
29
< span style ="margin-left: 15px "> < a href ="{{ next_page.url }} " style ="color: #fcfcfc "> Next »</ a > </ span >
30
30
31
31
</ div >
You can’t perform that action at this time.
0 commit comments