From 02e296ed75b7906b2d112c67f9054f5d71919de9 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Fri, 19 Jan 2024 06:19:20 +0800 Subject: [PATCH] fix: missing "/" at the end of URLs for categories and tags in breadcrumb (#1495) --- _includes/topbar.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_includes/topbar.html b/_includes/topbar.html index 3d079ed..d85101a 100644 --- a/_includes/topbar.html +++ b/_includes/topbar.html @@ -17,7 +17,7 @@ {% if forloop.first %} - {{ site.data.locales[include.lang].tabs.home | capitalize }} + {{- site.data.locales[include.lang].tabs.home | capitalize -}} @@ -30,8 +30,8 @@ {% elsif page.layout == 'category' or page.layout == 'tag' %} - - {{ site.data.locales[include.lang].tabs[item] | default: page.title }} + + {{- site.data.locales[include.lang].tabs[item] | default: page.title -}} {% endif %}