Add language select
This commit is contained in:
parent
0c40eb4ab7
commit
b90922a68f
4 changed files with 24 additions and 0 deletions
5
layouts/partials/languageSelect.html
Normal file
5
layouts/partials/languageSelect.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<ul class="language-select">
|
||||
{{ range $.Site.Home.AllTranslations }}
|
||||
<li><a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
Loading…
Add table
Add a link
Reference in a new issue