From 77671af35d7300e8369576f95da960c6802379a5 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 4 Apr 2017 12:03:07 +0300 Subject: [PATCH] layouts/: Use absLangURL to determine active page in menu On sites with multiple languages we need to use the absolute URL in the test to determine if the current page should be marked "active" in the menu bar. Perhaps a bug with Hugo that relative links end up like "/bg/bg/about" instead of "/bg/about". --- layouts/_default/baseof.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index b68614f..6f0ae7c 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -35,16 +35,16 @@