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.

29 lines
658 B

  1. extends master.pug
  2. block head
  3. if injectCode.css
  4. style(type='text/css')!= injectCode.css
  5. if injectCode.head
  6. != injectCode.head
  7. block body
  8. #root
  9. page(
  10. locale=page.localeCode
  11. path=page.path
  12. title=page.title
  13. description=page.description
  14. tags=page.tags
  15. created-at=page.createdAt
  16. updated-at=page.updatedAt
  17. author-name=page.authorName
  18. :author-id=page.authorId
  19. :is-published=page.isPublished.toString()
  20. :toc=page.toc
  21. :page-id=page.id
  22. :sidebar=sidebar
  23. )
  24. template(slot='contents')
  25. div(v-pre)!= page.render
  26. if injectCode.body
  27. != injectCode.body