From 55be0d3a1f5921e6681186f2bb95928456938568 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 19 Sep 2017 21:26:56 +0200 Subject: [PATCH] theme: highlight navbar items based on slug, not title. Because more than one subpage can (and usually does) have the same title. --- pelican-theme/templates/base.html | 16 ++++++++-------- pelican-theme/templates/base_blog.html | 2 +- pelican-theme/templates/page.html | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) 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 @@