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