From 46769a2b6d174913e7173168be46b1296e42d300 Mon Sep 17 00:00:00 2001 From: Jan Date: Mon, 31 Jan 2022 18:10:53 +0100 Subject: [PATCH] fix: correct tel: URL for translated about section (#518) In the about section, a correct `tel:` URL was only generated if the name of the sociallink was "Phone". Now, a correct link will also be generated if the name of the sociallink corresponds to the translation of "phone" in one of the i18n files. Co-authored-by: stueja Co-authored-by: Emruz Hossain --- layouts/partials/sections/about.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/sections/about.html b/layouts/partials/sections/about.html index 9f26313..eb2066a 100644 --- a/layouts/partials/sections/about.html +++ b/layouts/partials/sections/about.html @@ -31,7 +31,7 @@
  • {{ if eq .name "Email" }} - {{ else if eq .name "Phone" }} + {{ else if eq .name (i18n "phone") }} {{ else }}