chore(api-builder): use Jade include rather than Harp partial

This commit is contained in:
Patrice Chalin 2016-09-13 12:17:20 -07:00 committed by Naomi Black
parent b38939c7f4
commit 33398281a2
1 changed files with 4 additions and 2 deletions

View File

@ -8,6 +8,8 @@ p.location-badge.
ul
{% for page in doc.childPages -%}
li
!= partial("{$ relativePath(doc.path, '../../../_includes/_hover-card') $}", {name: "{$ page.title $}", url: "{$ relativePath(doc.moduleFolder, page.exportDoc.path) $}" })
- var name = "{$ page.title $}";
- var url = "{$ relativePath(doc.moduleFolder, page.exportDoc.path) $}";
include {$ relativePath(doc.path, '../../../_includes/_hover-card') $}
{% endfor %}
{% endblock %}
{% endblock %}