1
0
mirror of https://github.com/actix/actix-website synced 2024-11-24 00:41:07 +01:00

Remove broken translation link (#154)

This commit is contained in:
Elliot Jackson 2020-02-07 14:33:27 +01:00 committed by GitHub
parent 8ce8d0303f
commit 1a80aed878
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,15 +42,17 @@
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="{{ "/code/" | absLangURL }}">{{ T "code" }}</a> <a class="nav-link" href="{{ "/code/" | absLangURL }}">{{ T "code" }}</a>
</li> </li>
<li class="nav-item language-selector">
<i class="fa fa-fw fa-globe" aria-hidden="false"></i> {{ if gt 0 (len $.Site.Home.AllTranslations) }}
<ul class="subitem"> <li class="nav-item language-selector">
{{ range $.Site.Home.AllTranslations }} <i class="fa fa-fw fa-globe" aria-hidden="false"></i>
<li class="submenu-item"><a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a></li> <ul class="subitem">
{{ end }} {{ range $.Site.Home.AllTranslations }}
<li ><a href="https://dev.kriry.com/langs/rust/crate/actix/">中文</a></li> <li class="submenu-item"><a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a></li>
</ul> {{ end }}
</li> </ul>
</li>
{{ end }}
</ul> </ul>
</div> </div>
</nav> </nav>