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')
      )= page.content
