mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-25 07:48:52 +00:00
Fix allLanguages code
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
dc6bfbedbe
commit
2fc775dece
@@ -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 >}}
|
||||
|
||||
Reference in New Issue
Block a user