2016-09-05 23:23:49 +00:00
|
|
|
extends ../layout.pug
|
2016-08-30 02:19:47 +00:00
|
|
|
|
2016-09-09 23:22:18 +00:00
|
|
|
block rootNavCenter
|
|
|
|
h2.nav-item= pageData.meta.title
|
|
|
|
|
|
|
|
block rootNavRight
|
|
|
|
i.nav-item#notifload
|
|
|
|
span.nav-item
|
2017-01-03 04:32:16 +00:00
|
|
|
if rights.write
|
|
|
|
a.button.is-outlined.btn-move-prompt.is-hidden
|
|
|
|
i.icon-shuffle
|
|
|
|
span Move
|
2016-11-23 03:06:59 +00:00
|
|
|
a.button.is-outlined(href='/' + pageData.meta.path)
|
|
|
|
i.icon-loader
|
|
|
|
span Normal View
|
2017-01-03 04:32:16 +00:00
|
|
|
if rights.write
|
|
|
|
a.button.is-orange(href='/edit/' + pageData.meta.path)
|
|
|
|
i.fa.fa-edit
|
|
|
|
span Edit
|
|
|
|
a.button.is-blue.btn-create-prompt
|
|
|
|
i.fa.fa-plus
|
|
|
|
span Create
|
2016-09-09 23:22:18 +00:00
|
|
|
|
2016-08-30 02:19:47 +00:00
|
|
|
block content
|
|
|
|
|
|
|
|
#page-type-source(data-entrypath=pageData.meta.path)
|
|
|
|
.ace-container
|
|
|
|
#source-display= pageData.markdown
|
|
|
|
|
2016-09-09 23:22:18 +00:00
|
|
|
include ../modals/create.pug
|
|
|
|
include ../modals/move.pug
|