2018-08-11 22:16:56 +00:00
|
|
|
extends master.pug
|
2018-02-11 05:20:17 +00:00
|
|
|
|
2019-07-14 20:12:26 +00:00
|
|
|
block head
|
|
|
|
if injectCode.css
|
|
|
|
style(type='text/css')!= injectCode.css
|
|
|
|
|
2018-02-11 05:20:17 +00:00
|
|
|
block body
|
2018-08-11 22:16:56 +00:00
|
|
|
#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
|
2020-06-21 02:08:59 +00:00
|
|
|
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
|
2020-06-19 22:54:05 +00:00
|
|
|
effective-permissions=Buffer.from(JSON.stringify(effectivePermissions)).toString('base64')
|
2018-12-02 04:03:14 +00:00
|
|
|
)
|