From 07cd76e7833931e038de2bdc99a24d66cc8d8f96 Mon Sep 17 00:00:00 2001 From: Maksim Iakunin Date: Sun, 7 Nov 2021 15:20:24 +0300 Subject: [PATCH 1/2] Fixing UX-issue with language-switcher --- layouts/partials/language-switcher.html | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/layouts/partials/language-switcher.html b/layouts/partials/language-switcher.html index 7e2e848..5783de3 100644 --- a/layouts/partials/language-switcher.html +++ b/layouts/partials/language-switcher.html @@ -1,5 +1,16 @@ - \ No newline at end of file From 94ae51278b1db640c1897500fe6d553df37e33d3 Mon Sep 17 00:00:00 2001 From: Maksim Iakunin Date: Sun, 7 Nov 2021 18:16:42 +0300 Subject: [PATCH 2/2] Fixing the comment https://github.com/Mitrichius/hugo-theme-anubis/pull/115/files/07cd76e7833931e038de2bdc99a24d66cc8d8f96#r744256956 --- layouts/partials/language-switcher.html | 27 ++++++++++++------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/layouts/partials/language-switcher.html b/layouts/partials/language-switcher.html index 5783de3..df9c6ef 100644 --- a/layouts/partials/language-switcher.html +++ b/layouts/partials/language-switcher.html @@ -1,16 +1,15 @@ -{{ if .IsTranslated }} +