From af4404cd0abc3ae8b8fce22ce8dff6aff7d16301 Mon Sep 17 00:00:00 2001 From: Ryan S Date: Sun, 19 Nov 2023 10:15:12 -0300 Subject: [PATCH] fix: substitute default-lang for pt-br --- _includes/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/header.html b/_includes/header.html index 778ac35..9b73907 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -46,7 +46,7 @@ let newUrl = ""; - if (selectedLang == "{{ site.default_lang }}") { + if (selectedLang == "pt-br") { newUrl = baseUrl + currentUrl; } else { newUrl = baseUrl + "/" + selectedLang + currentUrl;