2016-10-03 18:19:13 +00:00
|
|
|
//- 💫 INCLUDES > TOP NAVIGATION
|
|
|
|
|
|
|
|
include _mixins
|
|
|
|
|
2016-12-24 11:24:04 +00:00
|
|
|
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"
|
2017-03-26 09:14:08 +00:00
|
|
|
.u-text-label.u-padding-small.u-hidden-xs=SUBSECTION
|
2016-10-03 18:19:13 +00:00
|
|
|
|
|
|
|
ul.c-nav__menu
|
2017-05-20 12:00:06 +00:00
|
|
|
if ALPHA
|
|
|
|
- var NAVIGATION = { "Usage": "/docs/usage", "Reference": "/docs/api" }
|
|
|
|
|
2016-10-31 18:04:15 +00:00
|
|
|
each url, item in NAVIGATION
|
2017-03-26 09:14:08 +00:00
|
|
|
li.c-nav__menu__item(class=(url == "/") ? "u-hidden-xs" : null)
|
2016-12-24 11:24:04 +00:00
|
|
|
+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)]
|