From 7e595c8a707cf62bf61b6ebd3b45ef10650b6406 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20P=C3=A9rez-Su=C3=A1rez?= Date: Mon, 27 Aug 2018 20:38:51 +0100 Subject: [PATCH] Pass the right links for navbar for any language --- _includes/navbar.html | 22 ++++++++++++++-------- _layouts/base.html | 3 ++- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/_includes/navbar.html b/_includes/navbar.html index b3fcc82..4bade7a 100644 --- a/_includes/navbar.html +++ b/_includes/navbar.html @@ -34,18 +34,21 @@ {% endif %} {% comment %} Always show link to home page. {% endcomment %} - {{ include.language.index }} + {% assign indexurl = include.pathLocale | append: "index/" | absolute_url %} + {{ include.language.index }}