0a16929a57
* feat: Edit / Page Create Buttons showing up even if no action is allowed #1780
23 lines
548 B
Plaintext
23 lines
548 B
Plaintext
extends master.pug
|
|
|
|
block head
|
|
if injectCode.css
|
|
style(type='text/css')!= injectCode.css
|
|
|
|
block body
|
|
#root
|
|
editor(
|
|
:page-id=page.id
|
|
locale=page.localeCode
|
|
path=page.path
|
|
title=page.title
|
|
description=page.description
|
|
:tags=page.tags
|
|
:is-published=page.isPublished
|
|
init-mode=page.mode
|
|
init-editor=page.editorKey
|
|
init-content=page.content
|
|
checkout-date=page.updatedAt
|
|
effective-permissions=Buffer.from(JSON.stringify(effectivePermissions)).toString('base64')
|
|
)
|