From d72260004e7d783ce4745040a07a733699c6aba7 Mon Sep 17 00:00:00 2001
From: Tom Teichler <tom.teichler@teckids.org>
Date: Sun, 1 Mar 2020 19:20:16 +0100
Subject: [PATCH] Fix if class activey

---
 templates/base.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/base.html b/templates/base.html
index 7b11a49..3357e95 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -61,7 +61,7 @@
                     {% for title,url in MENUITEMS %}
                         {% if url is string %}
                             {% if title != 'Search' %}
-                                <li {% if url == link %}class="active"{% endif %}>
+                                <li {% if output_file == link %}class="active"{% endif %}>
                                     <a href="{{ genurl( url ) }}" {{ newtab(url) }}>{{ title }}</a>
                                 </li>
                             {% endif %}
-- 
GitLab