mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
Fix overwriting of navigation in ALPHA mode
This commit is contained in:
parent
189db308d9
commit
20ffb56148
|
@ -9,10 +9,9 @@ nav.c-nav.u-text.js-nav(class=landing ? "c-nav--theme" : null)
|
||||||
.u-text-label.u-padding-small.u-hidden-xs=SUBSECTION
|
.u-text-label.u-padding-small.u-hidden-xs=SUBSECTION
|
||||||
|
|
||||||
ul.c-nav__menu
|
ul.c-nav__menu
|
||||||
if ALPHA
|
- var NAV = ALPHA ? { "Usage": "/docs/usage", "Reference": "/docs/api" } : NAVIGATION
|
||||||
- var NAVIGATION = { "Usage": "/docs/usage", "Reference": "/docs/api" }
|
|
||||||
|
|
||||||
each url, item in NAVIGATION
|
each url, item in NAV
|
||||||
li.c-nav__menu__item(class=(url == "/") ? "u-hidden-xs" : null)
|
li.c-nav__menu__item(class=(url == "/") ? "u-hidden-xs" : null)
|
||||||
+a(url)=item
|
+a(url)=item
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user