diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2015-10-01 18:35:56 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2015-10-01 18:35:56 +0200 |
commit | acf59a6cd801414801ba7a833a9fefe6aa669c1e (patch) | |
tree | 574a08629f49292abb887b81d3a9ec116b94a6bc /blog/_includes | |
parent | c22a3a7919bfda3c0d22dda34ed69353a1db5b6a (diff) | |
download | norsk-urskog-main-acf59a6cd801414801ba7a833a9fefe6aa669c1e.tar.gz norsk-urskog-main-acf59a6cd801414801ba7a833a9fefe6aa669c1e.tar.bz2 norsk-urskog-main-acf59a6cd801414801ba7a833a9fefe6aa669c1e.zip |
Another fix to the language switcher
Need to append the leading "/" also for secondary languages.
Diffstat (limited to 'blog/_includes')
-rw-r--r-- | blog/_includes/language-switcher.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blog/_includes/language-switcher.html b/blog/_includes/language-switcher.html index 60a8b3c..ee2edfc 100644 --- a/blog/_includes/language-switcher.html +++ b/blog/_includes/language-switcher.html @@ -1,6 +1,6 @@ <span class="language-switcher"> {% if site.lang == "nb" %} - <a href="{{ site.baseurl_root | append: "en" }}">{% t global.english %}</a> + <a href="{{ site.baseurl_root | append: "/en" }}">{% t global.english %}</a> {% else if site.lang == "en" %} <a href="{{ site.baseurl_root | append: "/" }}">{% t global.norwegian %}</a> {% endif %} |