You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
782 B

  1. extends master.pug
  2. block head
  3. if injectCode.css
  4. style(type='text/css')!= injectCode.css
  5. block body
  6. #root
  7. editor(
  8. :page-id=page.id
  9. locale=page.localeCode
  10. path=page.path
  11. title=page.title
  12. description=page.description
  13. :tags=page.tags
  14. :is-published=page.isPublished
  15. publish-start-date=page.publishStartDate
  16. publish-end-date=page.publishEndDate
  17. script-css=page.extra.css
  18. script-js=page.extra.js
  19. init-mode=page.mode
  20. toc-options=Buffer.from(JSON.stringify(page.tocOptions)).toString('base64')
  21. init-editor=page.editorKey
  22. init-content=page.content
  23. checkout-date=page.updatedAt
  24. effective-permissions=Buffer.from(JSON.stringify(effectivePermissions)).toString('base64')
  25. )