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:
Peter Bacon Darwin 2015-07-28 11:58:56 +01:00 committed by Naomi Black
parent 2c9951273a
commit 6ab2a871ce
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ p.location-badge.
ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
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
!= partial("../../../../../_includes/_hover-card", {name: page.title, url: url })