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:
parent
8ce8d0303f
commit
1a80aed878
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user