From ef8ff785a4d6193c8b5ee04a254dadecdc8a38df Mon Sep 17 00:00:00 2001 From: Bright Open Jo Date: Fri, 24 Jun 2022 01:00:23 +0200 Subject: [PATCH] #14 fix menu --- templates/macros/menu.html | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/macros/menu.html b/templates/macros/menu.html index 58314e3..090388f 100644 --- a/templates/macros/menu.html +++ b/templates/macros/menu.html @@ -1,4 +1,5 @@ {% macro menu(config, current_path) %} + {%- set current_item = false -%} {%- if config.extra.menu_items %} {%- set menu_items = config.extra.menu_items -%}