From 0fa263333dbb33223c73619e9524b384683f0215 Mon Sep 17 00:00:00 2001 From: Dominic Reich Date: Sun, 18 Jun 2023 07:03:01 +0200 Subject: [PATCH] =?UTF-8?q?update=20extended=20footer=20(removes=20i18n=20?= =?UTF-8?q?dir)=20and=20makes=20it=20hardcoded=20in=20english=20=20=20?= =?UTF-8?q?=E2=86=92=20but=20that=20would=20have=20been=20the=20way=20to?= =?UTF-8?q?=20make=20this=20available=20in=20more=20languages=20I=20guess?= =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- i18n/en.yaml | 2 -- layouts/partials/extend-footer.html | 12 ++++++------ 2 files changed, 6 insertions(+), 8 deletions(-) delete mode 100644 i18n/en.yaml diff --git a/i18n/en.yaml b/i18n/en.yaml deleted file mode 100644 index 529b5a0..0000000 --- a/i18n/en.yaml +++ /dev/null @@ -1,2 +0,0 @@ -footer: - running_on: "This website is served on an {{ .OS }} server with {{ .Webserver }}" diff --git a/layouts/partials/extend-footer.html b/layouts/partials/extend-footer.html index 37076e4..4f4ab11 100644 --- a/layouts/partials/extend-footer.html +++ b/layouts/partials/extend-footer.html @@ -1,8 +1,8 @@ -
- {{ $os := printf `OpenBSD` }} - {{ $webserver := printf `Apache httpd` }} -

- {{ i18n "footer.running_on" (dict "OS" $os "Webserver" $webserver) | safeHTML }} -

+
+
+

+ Served with OpenBSD and Apache httpd +

+