fix url bug

This commit is contained in:
Alex Wolfe 2015-04-21 08:54:02 -07:00
parent 6acdbb7597
commit 8d2ae687bb
2 changed files with 10 additions and 1 deletions

View File

@ -12,3 +12,12 @@
If you're building a production app today, please
<a href="https://docs.angularjs.org/api">use Angular 1.X</a>.
These versions of Angular are production ready and available today.
number = 1;
ul
for page, slug in public.docs[current.path[1]][current.path[2]].api._data
url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + slug + ".html"
num = number++
li.c8
!= partial("../../../_includes/_hover-card", { number: num, name: page.title, url: url })

View File

@ -3,7 +3,7 @@ ul
for page, slug in public.docs[current.path[1]][current.path[2]].guide._data
if slug != '_listtype'
url = "/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{current.path[4]}/#{slug}.html"
url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + slug + ".html"
num = number++
li.c8