From 8d8b2c170b54e183ade7fed80182fc54f68b84aa Mon Sep 17 00:00:00 2001 From: Quentin Date: Sun, 22 Nov 2020 11:42:47 +0100 Subject: Fix ul / li imbrication, thanks Adrien! --- src/_mixin/menu.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/_mixin') diff --git a/src/_mixin/menu.pug b/src/_mixin/menu.pug index 037b1aa..939f6e4 100644 --- a/src/_mixin/menu.pug +++ b/src/_mixin/menu.pug @@ -7,7 +7,7 @@ mixin menu(o, element) a(href=val.url, class=val.index.url == element.url ? 'selected' : null)= val.nice_name - else span= val.nice_name - +menu(val, element) + +menu(val, element) - else if (val.type == 'file' && val.tags.includes('document') && !val.tags.includes('is_index')) li a(href=val.url, class=val.url == element.url ? 'selected' : null)= val.nice_name -- cgit v1.2.3