diff options
Diffstat (limited to 'resources/pug/include/layout-sidebar.pug')
-rw-r--r-- | resources/pug/include/layout-sidebar.pug | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/resources/pug/include/layout-sidebar.pug b/resources/pug/include/layout-sidebar.pug index 3d87689..75a5f12 100644 --- a/resources/pug/include/layout-sidebar.pug +++ b/resources/pug/include/layout-sidebar.pug @@ -1,21 +1,17 @@ extends layout.pug -block append titleHeading - | – - block subtitle - block content div.row div.col-lg-3.col-md-4 ul.nav.nav-pills.nav-stacked block menu - mixin menuItem(active, link, text) - li(role='presentation', class=active ? 'active' : '') - a(href=link)= text + mixin menuItem(link, text) + li(role='presentation', class=(page == link) ? 'active' : '') + a(href=base_url + (link == '' ? '' : link + '.html'))= text div.col-lg-7.col-md-6 - h3(style={'margin-top': 0}) + h3 block subtitle | small |