spaCy/website/_includes/_navigation.jade

18 lines
499 B
Plaintext
Raw Normal View History

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