diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 658d79c..ca05433 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"}}