Skip to content

Commit ae9c679

Browse files
committed
Fix link error
1 parent 35051fc commit ae9c679

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

themes/vocabulary_theme/templates/layout.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,8 @@
154154
{% set i = loop.index %}
155155
{% set ns = namespace (link = '') %}
156156
{% for j in range(i) %}
157-
{% set ns.link = crumbs[j] + '/' %}
157+
{% set ns.link = ns.link + crumbs[j] + '/' %}
158158
{% endfor %}
159-
{% set ns.link = '/' + ns.link%}
160159
<li><a class="link" href="{{ ns.link|url }}">
161160
{% if crumb != '' %}
162161
{{ crumb | title | replace('-', ' ') }}

0 commit comments

Comments
 (0)