2017-04-30 20:37:10 +00:00
|
|
|
extends ../layout.pug
|
|
|
|
|
|
|
|
block rootNavRight
|
|
|
|
i.nav-item#notifload
|
|
|
|
.nav-item
|
|
|
|
a.button(href='/' + pageData.meta._id)
|
|
|
|
i.icon-circle-check
|
2017-05-03 01:41:22 +00:00
|
|
|
span= t('nav.viewlatest')
|
2017-04-30 20:37:10 +00:00
|
|
|
|
|
|
|
block content
|
|
|
|
|
|
|
|
#page-type-history.page-type-container(data-entrypath=pageData.meta._id)
|
|
|
|
.container.is-fluid.has-mkcontent
|
|
|
|
.columns.is-gapless
|
|
|
|
|
|
|
|
.column.is-narrow.is-hidden-touch.sidebar
|
|
|
|
|
|
|
|
aside.stickyscroll
|
|
|
|
.sidebar-label
|
2017-05-03 01:41:22 +00:00
|
|
|
span= t('sidebar.pastversions')
|
2017-04-30 20:37:10 +00:00
|
|
|
ul.sidebar-menu
|
|
|
|
each item, index in pageData.history
|
|
|
|
- var itemDate = moment(item.date)
|
|
|
|
li: a.is-multiline(class={ 'is-active': index < 1 }, href='', title=itemDate.format('LLLL'))
|
|
|
|
span= itemDate.calendar(null, { sameElse: 'llll'})
|
|
|
|
span.is-small= item.commitAbbr
|
|
|
|
|
|
|
|
.column
|
|
|
|
|
|
|
|
.hero
|
|
|
|
h1.title#title= pageData.meta.title
|
|
|
|
if pageData.meta.subtitle
|
|
|
|
h2.subtitle= pageData.meta.subtitle
|
|
|
|
.content.mkcontent
|
|
|
|
!= pageData.html
|