fix: missing "/" at the end of URLs for categories and tags in breadcrumb (#1495)
This commit is contained in:
parent
4facf5b390
commit
02e296ed75
1 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@
|
||||||
{% if forloop.first %}
|
{% if forloop.first %}
|
||||||
<span>
|
<span>
|
||||||
<a href="{{ '/' | relative_url }}">
|
<a href="{{ '/' | relative_url }}">
|
||||||
{{ site.data.locales[include.lang].tabs.home | capitalize }}
|
{{- site.data.locales[include.lang].tabs.home | capitalize -}}
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
@ -30,8 +30,8 @@
|
||||||
|
|
||||||
{% elsif page.layout == 'category' or page.layout == 'tag' %}
|
{% elsif page.layout == 'category' or page.layout == 'tag' %}
|
||||||
<span>
|
<span>
|
||||||
<a href="{{ item | relative_url }}">
|
<a href="{{ item | append: '/' | relative_url }}">
|
||||||
{{ site.data.locales[include.lang].tabs[item] | default: page.title }}
|
{{- site.data.locales[include.lang].tabs[item] | default: page.title -}}
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue