From: Vladimír Vondruš Date: Tue, 19 Sep 2017 19:26:56 +0000 (+0200) Subject: theme: highlight navbar items based on slug, not title. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=55be0d3a1f5921e6681186f2bb95928456938568;p=blog.git theme: highlight navbar items based on slug, not title. Because more than one subpage can (and usually does) have the same title. --- diff --git a/pelican-theme/templates/base.html b/pelican-theme/templates/base.html index ac9db964..a4302d45 100644 --- a/pelican-theme/templates/base.html +++ b/pelican-theme/templates/base.html @@ -31,13 +31,13 @@