Explorar o código

navigation to different language version remains on page (#294)

Co-authored-by: a1x42 <alex@rohde.lu>
a1x42 %!s(int64=5) %!d(string=hai) anos
pai
achega
ee91020af5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      layouts/partials/header.html

+ 1 - 1
layouts/partials/header.html

@@ -17,7 +17,7 @@
       {{ if .Site.IsMultiLingual }}
         {{ $node := . }}
         {{ .Scratch.Set "separator" true }}
-        {{ range .Site.Home.AllTranslations }}
+        {{ range .Translations }}
           {{ if ne $.Site.Language .Language }}
             {{ if $node.Scratch.Get "separator" }}
               <li class="navigation-item menu-separator">