From 1a052e0e6ea856ce63f696930a472b6b38d57dc6 Mon Sep 17 00:00:00 2001 From: samaradel Date: Tue, 2 Jul 2024 13:56:28 +0300 Subject: [PATCH] modify current_url condition --- templates/partials/header.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/partials/header.html b/templates/partials/header.html index 9de9773f7..066675ad4 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -40,10 +40,12 @@ {{link_label}} {% endif %} - {% elif current == current_url %} + {% elif current_url %} + {% if current == current_url%} {{link_label}} + {% endif %} {% else %} {{link_label}}