2016-08-18 03:52:23 +00:00
|
|
|
extends ../layout
|
|
|
|
|
2016-08-20 21:20:53 +00:00
|
|
|
mixin tocMenu(ti)
|
|
|
|
each node in ti
|
|
|
|
li
|
|
|
|
a(href='#' + node.anchor, title=node.content)= node.content
|
|
|
|
if node.nodes.length > 0
|
|
|
|
ul
|
|
|
|
+tocMenu(node.nodes)
|
|
|
|
|
2016-08-18 03:52:23 +00:00
|
|
|
block content
|
|
|
|
|
|
|
|
section.section
|
|
|
|
.container.is-fluid
|
|
|
|
.columns
|
|
|
|
|
|
|
|
.column.is-narrow
|
|
|
|
|
2016-08-20 21:20:53 +00:00
|
|
|
.box
|
|
|
|
aside.menu(style= { 'min-width': '200px' })
|
|
|
|
p.menu-label
|
|
|
|
| Navigation
|
|
|
|
ul.menu-list
|
|
|
|
li
|
|
|
|
a(href='/') Home
|
2016-08-18 03:52:23 +00:00
|
|
|
li
|
2016-08-20 21:20:53 +00:00
|
|
|
a(href='/account') Account
|
|
|
|
.box
|
|
|
|
aside.menu(style= { 'min-width': '200px' })
|
|
|
|
p.menu-label
|
|
|
|
| Contents
|
|
|
|
ul.menu-list
|
|
|
|
+tocMenu(pageData.tree)
|
2016-08-18 03:52:23 +00:00
|
|
|
|
|
|
|
.column
|
2016-08-20 21:20:53 +00:00
|
|
|
|
|
|
|
h1.title= pageData.title
|
2016-08-18 03:52:23 +00:00
|
|
|
h2.subtitle
|
|
|
|
| Primary bold subtitle
|
2016-08-20 04:50:29 +00:00
|
|
|
.content
|
2016-08-20 21:20:53 +00:00
|
|
|
!= pageData.html
|
2016-08-18 03:52:23 +00:00
|
|
|
|