From 197296e91f2aaec7f231e57ef8e9e05a92807b30 Mon Sep 17 00:00:00 2001 From: Arya Kiran Date: Sun, 10 Sep 2023 19:11:45 +0530 Subject: [PATCH] ctrl+return to send, english default source --- pages/index.go | 1 + views/index.html | 23 ++++++++++++++++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) 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" .}}