Skip to content

Commit 5a8540b

Browse files
authored
Update breadcrumb.swig
1 parent 490c39c commit 5a8540b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layout/_partials/breadcrumb.swig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
{% if current == count - 1 %}
1111
<li>{{ path | upper }}</li>
1212
{% else %}
13-
<li><a href="{{ link }}{{ url_for(path) }}/">{{ path | upper }}</a></li>
1413
{% if link == '' %}
1514
{% set link = '/' + path %}
1615
{% else %}
1716
{% set link += '/' + path %}
1817
{% endif %}
18+
<li><a href="{{ url_for(link) }}/">{{ path | upper }}</a></li>
1919
{% endif %}
2020
{% endif %}
2121
{% endfor %}

0 commit comments

Comments
 (0)