spaCy/website/_includes/_navigation.jade

18 lines
505 B
Plaintext

//- 💫 INCLUDES > TOP NAVIGATION
include _mixins
nav.c-nav.u-text.js-nav(class=landing ? "c-nav--theme" : false)
a(href='/') #[+logo]
if SUBSECTION != "index"
.u-text-label.u-padding-small=SUBSECTION
ul.c-nav__menu
each url, item in NAVIGATION
li.c-nav__menu__item
a(href=url target=url.includes("http") ? "_blank" : false)=item
li.c-nav__menu__item
+a(gh("spaCy"))(aria-label="GitHub").u-hidden-xs #[+icon("github", 20)]