From 6d26dfe33d9617d7c87e87db2426ebdf7d74ed79 Mon Sep 17 00:00:00 2001 From: samaradel Date: Tue, 2 Jul 2024 14:00:35 +0300 Subject: [PATCH] test header --- templates/partials/header.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/templates/partials/header.html b/templates/partials/header.html index 066675ad4..91bfef91c 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -40,12 +40,10 @@ {{link_label}} {% endif %} - {% elif current_url %} - {% if current == current_url%} + {% elif current_url and current == current_url %} {{link_label}} - {% endif %} {% else %} {{link_label}}