diff --git a/templates/base.html b/templates/base.html index 7b11a49e5abecdfd445bd0fe972d293e0d452b78..3357e957aad4c946d28003d93db873a91431a97d 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 %}