mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 09:26:27 +03:00
f6f6e028ea
New version of Harp would render attribute=false as attribute="false", while attribute=null renders element without attribute.
14 lines
425 B
Plaintext
14 lines
425 B
Plaintext
//- 💫 INCLUDES > SIDEBAR
|
|
|
|
include _mixins
|
|
|
|
menu.c-sidebar.js-sidebar.u-text
|
|
if sidebar_content
|
|
each items, menu in sidebar_content
|
|
ul.c-sidebar__section.o-block
|
|
li.u-text-label.u-color-subtle=menu
|
|
|
|
each url, item in items
|
|
li(class=(CURRENT == url || (CURRENT == "index" && url == "./")) ? "is-active" : null)
|
|
+a(url)=item
|