wikijs-fork/server/views/source.pug
2023-06-03 23:15:22 -04:00

16 lines
347 B
Plaintext

extends master.pug
block head
block body
#root
page-source(
:page-id=page.id
locale=page.localeCode
path=page.path
:version-id=page.versionId
version-date=page.versionDate
effective-permissions=Buffer.from(JSON.stringify(effectivePermissions)).toString('base64')
)
code(v-pre)= page.content