2016-10-03 21:19:13 +03:00
|
|
|
//- 💫 INCLUDES > TOP NAVIGATION
|
|
|
|
|
|
|
|
include _mixins
|
|
|
|
|
2016-12-24 14:24:04 +03:00
|
|
|
nav.c-nav.u-text.js-nav(class=landing ? "c-nav--theme" : null)
|
2016-10-31 21:04:15 +03:00
|
|
|
a(href='/') #[+logo]
|
2016-10-03 21:19:13 +03:00
|
|
|
|
2016-10-31 21:04:15 +03:00
|
|
|
if SUBSECTION != "index"
|
2017-03-26 12:14:08 +03:00
|
|
|
.u-text-label.u-padding-small.u-hidden-xs=SUBSECTION
|
2016-10-03 21:19:13 +03:00
|
|
|
|
|
|
|
ul.c-nav__menu
|
2017-05-28 17:36:31 +03:00
|
|
|
- var NAV = ALPHA ? { "Usage": "/docs/usage", "Reference": "/docs/api" } : NAVIGATION
|
2017-05-20 15:00:06 +03:00
|
|
|
|
2017-05-28 17:36:31 +03:00
|
|
|
each url, item in NAV
|
2017-03-26 12:14:08 +03:00
|
|
|
li.c-nav__menu__item(class=(url == "/") ? "u-hidden-xs" : null)
|
2016-12-24 14:24:04 +03:00
|
|
|
+a(url)=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)]
|