Skip to content

Commit 6ab2a87

Browse files
petebacondarwinnaomiblack
authored andcommitted
chore(doc-gen): add - var ... to jade variable declarations
Harp 0.17 requires that jade variables are declared correctly Closes angular#3325
1 parent 2c99512 commit 6ab2a87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/angular.io-package/templates/module.template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
ul
88
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
99
if slug != 'index'
10-
url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
10+
- var url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
1111

1212
li.c8
1313
!= partial("../../../../../_includes/_hover-card", {name: page.title, url: url })

0 commit comments

Comments
 (0)