diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 658d79cc..ca054336 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -4,7 +4,7 @@ {{- if (.Param "ShowBreadCrumbs")}} - {{- $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }} + {{- $url := replace .Parent.Permalink ( printf "%s" .Site.BaseURL) "" }} {{- $lang_url := replace $url ( printf "%s" .Lang) "" }} {{ i18n "home" | default "Home"}}