fix: multilingual mode with different baseURLs
fix: multilingual mode with different baseURLs

With Hugo v0.60+, the translation menu in the navbar is broken when a different baseURL is set for each multilingual site. This update attempts to fix that.

See #1503

gcushen/hugo-academic,gcushen/hugo-academic,gcushen/hugo-academic,gcushen/hugo-academic