Build file breadcrumb from parentdirs keys, optionally linkify.

Change-Id: I7f4c9887d77c6d3ab1aca4e05963b6144a8b22f8
This commit is contained in:
Dirk Dougherty
2013-09-04 17:54:49 -07:00
parent 6fb7e23bba
commit f2bd4eb26a

View File

@@ -26,7 +26,16 @@
</div> <!-- end api-info-block --> </div> <!-- end api-info-block -->
<div id="jd-header" style="border:0;"> <div id="jd-header" style="border:0;">
<?cs var:relative ?>
<div id="pathCrumb">
<?cs each:item = parentdirs ?>
<?cs if:pathCrumbLinks
?><a href="<?cs var:toroot ?><?cs var:item.Link ?>"><?cs var:item.Name ?></a> /
<?cs else
?><?cs var:item.Name ?> / <?cs /if ?>
<?cs /each ?>
</div>
<h1 itemprop="name"><?cs var:page.title ?></h1> <h1 itemprop="name"><?cs var:page.title ?></h1>
</div> </div>
<!-- end breadcrumb block --> <!-- end breadcrumb block -->