fix(theme): remove translations length from dropdown menu (#478)

This commit is contained in:
Lorenzo D'Ianni 2022-11-03 19:12:23 +01:00 committed by GitHub
parent 2666508143
commit bb094a5e1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,6 @@
<li class="header__menu-item dropdown"> <li class="header__menu-item dropdown">
<button class="dropdown__label">Languages</button> <button class="dropdown__label">Languages</button>
<ul class="dropdown__options"> <ul class="dropdown__options">
{{ .Site.Home.AllTranslations }}
{{ range .Site.Home.AllTranslations }} {{ range .Site.Home.AllTranslations }}
<li class="dropdown__option"><a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a></li> <li class="dropdown__option"><a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a></li>
{{ end }} {{ end }}