diff options
author | Quentin <quentin@deuxfleurs.fr> | 2020-11-22 11:42:47 +0100 |
---|---|---|
committer | Quentin <quentin@deuxfleurs.fr> | 2020-11-22 11:42:47 +0100 |
commit | 8d8b2c170b54e183ade7fed80182fc54f68b84aa (patch) | |
tree | 1e95c0c94c71c4ae4fc00853f772eb0d2637500a | |
parent | b0a23a2835cdff983fb26467ef902a528e2dd33d (diff) | |
download | site-8d8b2c170b54e183ade7fed80182fc54f68b84aa.tar.gz site-8d8b2c170b54e183ade7fed80182fc54f68b84aa.zip |
Fix ul / li imbrication, thanks Adrien!
-rw-r--r-- | src/_mixin/menu.pug | 2 |
1 files changed, 1 insertions, 1 deletions
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 |