diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-04-18 12:00:23 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-04-18 12:00:23 +0200 |
commit | ef35a40059be533bfc66c39bfdfb6ba22c0a672f (patch) | |
tree | 23107d1e590a3ca6dbc7d410a0849f0477766391 /src/Documentation | |
parent | f3ea5086ed730e761259b3e593fe3a32379bfc95 (diff) | |
download | site-ef35a40059be533bfc66c39bfdfb6ba22c0a672f.tar.gz site-ef35a40059be533bfc66c39bfdfb6ba22c0a672f.zip |
Improve render.js code
Diffstat (limited to 'src/Documentation')
-rw-r--r-- | src/Documentation/_markdown.pug | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/Documentation/_markdown.pug b/src/Documentation/_markdown.pug index ea23f15..b5dcdf4 100644 --- a/src/Documentation/_markdown.pug +++ b/src/Documentation/_markdown.pug @@ -3,14 +3,6 @@ extends ../_layout.pug prepend root - title = element.nice_path[element.nice_path.length - 1] -mixin menu(o) - ul - each val in o.children - - if (val.type == 'folder') - li - a(href=val.url)= val.nice_name - +menu(val) - block content .container.spacing nav |