//- 💫 INCLUDES > TOP NAVIGATION

include _mixins

nav.c-nav.u-text.js-nav(class=landing ? "c-nav--theme" : null)
    a(href='/') #[+logo]

    if SUBSECTION != "index"
        .u-text-label.u-padding-small.u-hidden-xs=SUBSECTION

    ul.c-nav__menu
        if ALPHA
            - var NAVIGATION = { "Usage": "/docs/usage", "Reference": "/docs/api" }

        each url, item in NAVIGATION
            li.c-nav__menu__item(class=(url == "/") ? "u-hidden-xs" : null)
                +a(url)=item

        li.c-nav__menu__item
            +a(gh("spaCy"))(aria-label="GitHub").u-hidden-xs #[+icon("github", 20)]

//- 💫 INCLUDES > TOP NAVIGATION

include _mixins

nav.c-nav.u-text.js-nav(class=landing ? "c-nav--theme" : null)
    a(href='/') #[+logo]

    if SUBSECTION != "index"
        .u-text-label.u-padding-small.u-hidden-xs=SUBSECTION

    ul.c-nav__menu
        - var NAV = ALPHA ? { "Usage": "/docs/usage", "Reference": "/docs/api" } : NAVIGATION

        each url, item in NAV
            li.c-nav__menu__item(class=(url == "/") ? "u-hidden-xs" : null)
                +a(url)=item

        li.c-nav__menu__item
            +a(gh("spaCy"))(aria-label="GitHub").u-hidden-xs #[+icon("github", 20)]

Fix overwriting of navigation in ALPHA mode
Fix overwriting of navigation in ALPHA mode
