wikijs-fork/views/pages/source.pug

37 lines
807 B
Plaintext
Raw Normal View History

extends ../layout.pug
2016-09-09 23:22:18 +00:00
block rootNavCenter
2017-02-10 02:35:37 +00:00
h2.nav-item= pageData.meta.title
2016-09-09 23:22:18 +00:00
block rootNavRight
2017-02-10 02:35:37 +00:00
i.nav-item#notifload
span.nav-item
if rights.write
a.button.is-outlined.btn-move-prompt.is-hidden
i.icon-shuffle
span Move
a.button.is-outlined(href='/' + pageData.meta.path)
i.icon-loader
span Normal View
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
block content
2017-02-10 02:35:37 +00:00
#page-type-source(data-entrypath=pageData.meta.path)
.ace-container
#source-display= pageData.markdown
2017-02-10 02:35:37 +00:00
include ../modals/create.pug
include ../modals/move.pug
block outside
#page-loader
i
span Loading source...