Fix allLanguages code

This commit is contained in:
Jean-Baptiste 2018-02-03 14:54:37 +01:00 committed by Bjørn Erik Pedersen
parent dc6bfbedbe
commit 2fc775dece

View File

@ -200,7 +200,7 @@ The above also uses the [`i18n` function][i18func] described in the next section
{{< code file="layouts/partials/allLanguages.html" >}}
<ul>
{{ range $.Site.Home.AllTranslations }}
<li><a href="{{ .}}">{{ .Language.LanguageName }}</a></li>
<li><a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a></li>
{{ end }}
</ul>
{{< /code >}}