spaCy/website/_includes/_navigation.jade

18 lines
453 B
Plaintext
Raw Normal View History

2016-10-03 18:19:13 +00:00
//- 💫 INCLUDES > TOP NAVIGATION
include _mixins
nav.c-nav.u-text.js-nav(class=landing ? "c-nav--theme" : null)
2016-10-31 18:04:15 +00:00
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(url)=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)]