aboutsummaryrefslogtreecommitdiff
path: root/src/Documentation
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-04-18 12:00:23 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-04-18 12:00:23 +0200
commitef35a40059be533bfc66c39bfdfb6ba22c0a672f (patch)
tree23107d1e590a3ca6dbc7d410a0849f0477766391 /src/Documentation
parentf3ea5086ed730e761259b3e593fe3a32379bfc95 (diff)
downloadsite-ef35a40059be533bfc66c39bfdfb6ba22c0a672f.tar.gz
site-ef35a40059be533bfc66c39bfdfb6ba22c0a672f.zip
Improve render.js code
Diffstat (limited to 'src/Documentation')
-rw-r--r--src/Documentation/_markdown.pug8
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