You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wiki/views/pages/edit.pug

27 lines
594 B

extends ../layout
block rootNavCenter
h2.nav-item= pageData.meta.title
block rootNavRight
i.nav-item#notifload
a.nav-item(href='/history/' + pageData.meta.path, target='_blank')
| History
a.nav-item(href='/source/' + pageData.meta.path, target='_blank')
| Source
span.nav-item
a.button.is-warning.btn-edit-discard
span.icon
i.fa.fa-times
span Discard
a.button.is-success.btn-edit-save
span.icon
i.fa.fa-check
span Save Changes
block content
#page-type-edit(data-entrypath=pageData.meta.path)
textarea#mk-editor= pageData.markdown
include ../modals/edit