_includes/topbar.html in jekyll-theme-chirpy-customized-upe-0.0.0 vs _includes/topbar.html in jekyll-theme-chirpy-customized-upe-0.0.1
- old
+ new
@@ -15,11 +15,11 @@
{% else %}
{% for item in paths %}
{% if forloop.first %}
<span>
<a href="{{ '/' | relative_url }}">
- {{- site.data.locales[include.lang].tabs.home | capitalize -}}
+ {{ site.data.locales[include.lang].tabs.home | capitalize }}
</a>
</span>
{% elsif forloop.last %}
{% if page.collection == 'tabs' %}
@@ -28,11 +28,11 @@
<span>{{ page.title }}</span>
{% endif %}
{% elsif page.layout == 'category' or page.layout == 'tag' %}
<span>
- <a href="{{ item | append: '/' | relative_url }}">
- {{- site.data.locales[include.lang].tabs[item] | default: page.title -}}
+ <a href="{{ item | relative_url }}">
+ {{ site.data.locales[include.lang].tabs[item] | default: page.title }}
</a>
</span>
{% endif %}
{% endfor %}
{% endif %}