diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index 318d240..748d734 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -144,7 +144,13 @@
{{ $name }}
{{ else }}
-
{{ template "sidebar-item-link" dict "active" false "title" $name "link" (.URL | relLangURL) }}
+ {{- $link := .URL -}}
+ {{- with .PageRef -}}
+ {{- if hasPrefix . "/" -}}
+ {{- $link = relLangURL (strings.TrimPrefix "/" .) -}}
+ {{- end -}}
+ {{- end -}}
+ {{ template "sidebar-item-link" dict "active" false "title" $name "link" $link }}
{{ end }}
{{- end -}}
{{- end -}}