2016-10-03 18:19:13 +00:00
|
|
|
//- 💫 INCLUDES > SIDEBAR
|
2016-03-31 14:24:48 +00:00
|
|
|
|
2016-10-03 18:19:13 +00:00
|
|
|
include _mixins
|
2016-03-31 14:24:48 +00:00
|
|
|
|
2016-10-31 18:04:15 +00: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 18:19:13 +00:00
|
|
|
li.u-text-label.u-color-subtle=menu
|
2016-10-31 18:04:15 +00:00
|
|
|
|
|
|
|
each url, item in items
|
|
|
|
li(class=(CURRENT == url || (CURRENT == "index" && url == "./")) ? "is-active" : "")
|
|
|
|
+a(url)(target=url.includes("http") ? "_blank" : "")=item
|