mirror of https://github.com/Requarks/wiki.git
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
803 B
27 lines
803 B
extends ../layout.pug
|
|
|
|
block rootNavRight
|
|
i.nav-item#notifload
|
|
.nav-item
|
|
a.button(href='/' + pageData.meta._id)
|
|
i.nc-icon-outline.ui-3_select
|
|
span= t('nav.viewlatest')
|
|
|
|
block content
|
|
.container.is-fluid
|
|
.columns.is-gapless
|
|
|
|
.column.is-narrow.is-hidden-touch.sidebar
|
|
|
|
aside.stickyscroll
|
|
.sidebar-label
|
|
span= t('sidebar.pastversions')
|
|
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
|
|
history(current-path=pageData.meta._id)
|