forked from Deuxfleurs/site
Fix ul / li imbrication, thanks Adrien!
This commit is contained in:
parent
b0a23a2835
commit
8d8b2c170b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue