mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-13 12:29:52 -04:00
Fix allLanguages code
This commit is contained in:
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 >}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user