Add language select

This commit is contained in:
Michal Pasierbski 2020-05-24 18:30:37 +02:00
parent 0c40eb4ab7
commit b90922a68f
4 changed files with 24 additions and 0 deletions

View file

@ -18,6 +18,11 @@
</main>
<footer>
{{ block "footer" . }}
{{ $languagesCount := $.Site.Home.AllTranslations }}
{{ if gt $languagesCount 1 }}
{{ partial "languageSelect.html" . }}
{{ end }}
{{ partial "footer.html" . }}
{{ end }}
</footer>