chore(doc-gen): add `- var ...` to jade variable declarations
Harp 0.17 requires that jade variables are declared correctly Closes #3325
This commit is contained in:
parent
2c9951273a
commit
6ab2a871ce
|
@ -7,7 +7,7 @@ p.location-badge.
|
||||||
ul
|
ul
|
||||||
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
|
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
|
||||||
if slug != 'index'
|
if slug != 'index'
|
||||||
url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
|
- var url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
|
||||||
|
|
||||||
li.c8
|
li.c8
|
||||||
!= partial("../../../../../_includes/_hover-card", {name: page.title, url: url })
|
!= partial("../../../../../_includes/_hover-card", {name: page.title, url: url })
|
||||||
|
|
Loading…
Reference in New Issue