spaCy/website/_includes/_navigation.jade

16 lines
532 B
Plaintext
Raw Normal View History

2016-10-03 18:19:13 +00:00
//- 💫 INCLUDES > TOP NAVIGATION
nav.c-nav.u-text.js-nav(class=landing ? "c-nav--theme" : null)
a(href="/" aria-label=SITENAME) #[+logo]
2016-10-03 18:19:13 +00:00
ul.c-nav__menu
- var current_url = '/' + current.path[0]
each url, item in NAVIGATION
li.c-nav__menu__item(class=(current_url == url) ? "is-active" : null)
+a(url)=item
2016-10-03 18:19:13 +00:00
li.c-nav__menu__item.u-hidden-xs
+a(gh("spaCy"))(aria-label="GitHub") #[+icon("github", 20)]
progress.c-progress.js-progress(value="0" max="1")