wikijs-fork/views/pages/source.pug

28 lines
578 B
Plaintext
Raw Normal View History

extends ../layout.pug
2016-09-09 23:22:18 +00:00
block rootNavCenter
h2.nav-item= pageData.meta.title
block rootNavRight
i.nav-item#notifload
a.nav-item.btn-move-prompt.is-hidden
| Move
a.nav-item(href='/' + pageData.meta.path)
| Normal View
span.nav-item
2016-11-21 01:09:50 +00:00
a.button.is-orange(href='/edit/' + pageData.meta.path)
i.fa.fa-edit
2016-09-09 23:22:18 +00:00
span Edit
2016-11-21 01:09:50 +00:00
a.button.is-blue.btn-create-prompt
i.fa.fa-plus
2016-09-09 23:22:18 +00:00
span Create
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