aboutsummaryrefslogtreecommitdiff
path: root/src/Documentation/_markdown.pug
blob: ea23f15afbdf5344f6c9b4cbd4dc14cc5a2a01d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
      strong
        a(href="/Documentation") Documentation
      +menu(root.children.find(e => e.nice_name == "Documentation"))

    main.spacing
      != markdown