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.

35 lines
1.0 KiB

  1. extends ../layout.pug
  2. block rootNavRight
  3. i.nav-item#notifload
  4. .nav-item
  5. a.button(href='/' + pageData.meta._id)
  6. i.icon-circle-check
  7. span= t('nav.viewlatest')
  8. block content
  9. #page-type-history.page-type-container(data-entrypath=pageData.meta._id)
  10. .container.is-fluid.has-mkcontent
  11. .columns.is-gapless
  12. .column.is-narrow.is-hidden-touch.sidebar
  13. aside.stickyscroll
  14. .sidebar-label
  15. span= t('sidebar.pastversions')
  16. ul.sidebar-menu
  17. each item, index in pageData.history
  18. - var itemDate = moment(item.date)
  19. li: a.is-multiline(class={ 'is-active': index < 1 }, href='', title=itemDate.format('LLLL'))
  20. span= itemDate.calendar(null, { sameElse: 'llll'})
  21. span.is-small= item.commitAbbr
  22. .column
  23. .hero
  24. h1.title#title= pageData.meta.title
  25. if pageData.meta.subtitle
  26. h2.subtitle= pageData.meta.subtitle
  27. .content.mkcontent
  28. != pageData.html