Skip to content

Commit

Permalink
fix: substitute default-lang for pt-br
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryrden committed Nov 19, 2023
1 parent 5d993f4 commit af4404c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

let newUrl = "";

if (selectedLang == "{{ site.default_lang }}") {
if (selectedLang == "pt-br") {
newUrl = baseUrl + currentUrl;
} else {
newUrl = baseUrl + "/" + selectedLang + currentUrl;
Expand Down

0 comments on commit af4404c

Please sign in to comment.