blob: 8cf7d5ad3e15232803e104939b973217c678212f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
extends layout.pug
block content
div.row
div.col-lg-3.col-md-4
ul.nav.nav-pills.nav-stacked
block menu
mixin menu(...items)
- const pad_zero = n => n < 10 ? '0' + n : n;
each item in items
if typeof item.link == 'undefined'
- item.link = item.name.toLowerCase().replace(/\W/g, '-')
unless typeof item.year == 'undefined' || typeof item.month == 'undefined' || typeof item.day == 'undefined'
- item.link = item.year + '-' + pad_zero(item.month) + '-' + pad_zero(item.day) + '-' + item.link
li(role='presentation', class=(page == item.link) ? 'active' : '')
a(href=base_url + (item.link == '' ? '' : item.link + '.html'))= item.name
div.col-lg-7.col-md-6
h3
block subtitle
|
small
block subtitleDate
div.col-lg-2.col-md-2.text-right
block subtitle-right
div.col-lg-9.col-md-8.text-justify.markdown
block page
|