🌐 Add language switcher to header

This commit is contained in:
James Panther
2022-01-11 12:00:27 +11:00
parent fe90990e10
commit 9c8601102c
8 changed files with 23 additions and 47 deletions
+7
View File
@@ -0,0 +1,7 @@
{{ if .IsTranslated }}
<nav class="inline">
{{ range .AllTranslations }}
<a href="{{ .RelPermalink }}">{{ .Language.Params.displayName | emojify }}</a>
{{ end }}
</nav>
{{ end }}