summaryrefslogtreecommitdiffstats
path: root/blog
diff options
context:
space:
mode:
Diffstat (limited to 'blog')
-rw-r--r--blog/_includes/language-switcher.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/blog/_includes/language-switcher.html b/blog/_includes/language-switcher.html
index 604c914..014bed6 100644
--- a/blog/_includes/language-switcher.html
+++ b/blog/_includes/language-switcher.html
@@ -1,7 +1,7 @@
<span class="language-switcher">
- {% if site.lang == "nb" %}
- <a href="{{ site.baseurl_root | append: "/en" }}">English</a>
- {% else if site.lang == "en" %}
- <a href="{{ site.baseurl_root | append: "/" }}">Norsk</a>
+ {% if page.lang == "no" %}
+ <a href="{{ site.baseurl | append: "/en" }}">English</a>
+ {% else if page.lang == "en" %}
+ <a href="{{ site.baseurl | append: "/" }}">Norsk</a>
{% endif %}
</span>