2016-10-03 21:19:13 +03:00
|
|
|
//- 💫 INCLUDES > SIDEBAR
|
2016-03-31 17:24:48 +03:00
|
|
|
|
2016-10-03 21:19:13 +03:00
|
|
|
include _mixins
|
2016-03-31 17:24:48 +03:00
|
|
|
|
2016-10-31 21:04:15 +03:00
|
|
|
menu.c-sidebar.js-sidebar.u-text
|
|
|
|
if sidebar_content
|
|
|
|
each items, menu in sidebar_content
|
|
|
|
ul.c-sidebar__section.o-block
|
2016-10-03 21:19:13 +03:00
|
|
|
li.u-text-label.u-color-subtle=menu
|
2016-10-31 21:04:15 +03:00
|
|
|
|
|
|
|
each url, item in items
|
2016-11-07 04:18:36 +03:00
|
|
|
li(class=(CURRENT == url || (CURRENT == "index" && url == "./")) ? "is-active" : false)
|
|
|
|
+a(url)(target=url.includes("http") ? "_blank" : false)=item
|