diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2015-09-13 13:05:29 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2015-09-13 13:05:29 +0200 |
commit | 230e936663583343890ff5d0eddc6c21b252ac6f (patch) | |
tree | 1d49782734d6718d8477f477bc681d2df4ca363f /blog/_includes | |
parent | 1114ff7947d742df516131c8d67609f31d6ee67a (diff) | |
download | norsk-urskog-main-230e936663583343890ff5d0eddc6c21b252ac6f.tar.gz norsk-urskog-main-230e936663583343890ff5d0eddc6c21b252ac6f.tar.bz2 norsk-urskog-main-230e936663583343890ff5d0eddc6c21b252ac6f.zip |
Fix "Home" and language switcher for default language.
Diffstat (limited to 'blog/_includes')
-rw-r--r-- | blog/_includes/language-switcher.html | 4 | ||||
-rw-r--r-- | blog/_includes/menubar.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/blog/_includes/language-switcher.html b/blog/_includes/language-switcher.html index 22f2e05..60a8b3c 100644 --- a/blog/_includes/language-switcher.html +++ b/blog/_includes/language-switcher.html @@ -2,6 +2,6 @@ {% 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 }}">{% t global.norwegian %}</a> + <a href="{{ site.baseurl_root | append: "/" }}">{% t global.norwegian %}</a> {% endif %} -</span>
\ No newline at end of file +</span> diff --git a/blog/_includes/menubar.html b/blog/_includes/menubar.html index cc7de78..8a964a3 100644 --- a/blog/_includes/menubar.html +++ b/blog/_includes/menubar.html @@ -1,5 +1,5 @@ <nav class="site-nav"> - <a class="page-link" href="{{ site.baseurl }}">{% t titles.home %}</a> + <a class="page-link" href="{{ site.baseurl | append: "/" }}">{% t titles.home %}</a> {% for page in site.pages %} {% if page.title %} <a class="page-link" href="{{ page.url | prepend: site.baseurl }}">{% page_title page.title %}</a> |