Skip to content

Commit 8c87828

Browse files
authored
Merge pull request creativecommons#512 from tushar912/test
Changed breadcrumb to use title
2 parents 6500ae6 + ddb3118 commit 8c87828

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/vocabulary_theme/templates/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
{% for crumb in crumbs %}
155155
<!-- Active link -->
156156
{% if this._slug == crumb %}
157-
<li class="is-active"><a aria-current="page displayed">{{ crumb | title | replace('-', ' ') }}</a></li>
157+
<li class="is-active"><a aria-current="page displayed">{{ this.title }}</a></li>
158158
{% else %}
159159
<!-- Forming the URL using extracted slugs -->
160160
{% set i = loop.index %}

0 commit comments

Comments
 (0)