spaCy/website/_includes/_navigation.jade

18 lines
499 B
Plaintext
Raw Normal View History

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