diff --git a/pages/index.go b/pages/index.go index a757cb7..abd8326 100644 --- a/pages/index.go +++ b/pages/index.go @@ -62,5 +62,6 @@ func HandleIndex(c *fiber.Ctx) error { "To": to, "TtsFrom": ttsFrom, "TtsTo": ttsTo, + "defaultLang": "en", }) } diff --git a/views/index.html b/views/index.html index d7a1479..d834108 100644 --- a/views/index.html +++ b/views/index.html @@ -5,7 +5,9 @@ Translate with: {{.Engine}} @@ -18,11 +20,15 @@
@@ -91,5 +97,16 @@
+ {{ template "footer" .}}