wikijs-fork/server/views/editor.pug

27 lines
700 B
Plaintext
Raw Permalink Normal View History

extends master.pug
2018-02-11 05:20:17 +00:00
block head
if injectCode.css
style(type='text/css')!= injectCode.css
2018-02-11 05:20:17 +00:00
block body
#root
2018-12-02 04:03:14 +00:00
editor(
:page-id=page.id
locale=page.localeCode
path=page.path
title=page.title
description=page.description
2019-09-01 22:38:09 +00:00
:tags=page.tags
2018-12-02 04:03:14 +00:00
:is-published=page.isPublished
publish-start-date=page.publishStartDate
publish-end-date=page.publishEndDate
2020-06-20 20:39:36 +00:00
script-css=page.extra.css
script-js=page.extra.js
2018-12-02 04:03:14 +00:00
init-mode=page.mode
init-editor=page.editorKey
init-content=page.content
2020-03-02 05:43:19 +00:00
checkout-date=page.updatedAt
effective-permissions=Buffer.from(JSON.stringify(effectivePermissions)).toString('base64')
2018-12-02 04:03:14 +00:00
)