summaryrefslogtreecommitdiffstats
path: root/blog/_includes/language-switcher.html
blob: 60a8b3c9d072a7868c6e707a5ace2600ee215e51 (plain) (blame)
1
2
3
4
5
6
7
<span class="language-switcher">
  {% if site.lang == "nb" %}
    <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 %}
</span>