mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 04:15:05 +00:00
Fix allLanguages code
This commit is contained in:
1 parent
dc6bfbedbe
commit
2fc775dece
1 file changed
+1
-1
@@ -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