From dafa24712653495ae93f754d3900c6723b82e5ee Mon Sep 17 00:00:00 2001 From: stueja Date: Sun, 30 Jan 2022 18:00:34 +0100 Subject: [PATCH] fix: correct tel: URL for i18n'd about section 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. --- 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 }}