Fix ul / li imbrication, thanks Adrien!

This commit is contained in:
Quentin 2020-11-22 11:42:47 +01:00
parent b0a23a2835
commit 8d8b2c170b

View file

@ -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