2016-10-03 18:19:13 +00:00
|
|
|
//- 💫 INCLUDES > TOP NAVIGATION
|
|
|
|
|
2016-12-24 11:24:04 +00:00
|
|
|
nav.c-nav.u-text.js-nav(class=landing ? "c-nav--theme" : null)
|
2017-10-03 12:20:13 +00:00
|
|
|
a(href="/" aria-label=SITENAME) #[+logo]
|
2016-10-03 18:19:13 +00:00
|
|
|
|
|
|
|
ul.c-nav__menu
|
2017-10-03 12:20:13 +00:00
|
|
|
- var current_url = '/' + current.path[0]
|
|
|
|
each url, item in NAVIGATION
|
2017-11-07 13:48:17 +00:00
|
|
|
- var is_active = (current_url == url)
|
|
|
|
li.c-nav__menu__item(class=is_active ? "is-active" : null)
|
|
|
|
+a(url)(tabindex=is_active ? "-1" : null)=item
|
2016-10-03 18:19:13 +00:00
|
|
|
|
2018-02-15 11:14:30 +00:00
|
|
|
li.c-nav__menu__item.u-hidden-xs
|
|
|
|
+a("https://survey.spacy.io", true) User Survey 2018
|
|
|
|
|
2017-10-03 12:20: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")
|