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