Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f2bd4eb2 authored by Dirk Dougherty's avatar Dirk Dougherty
Browse files

Build file breadcrumb from parentdirs keys, optionally linkify.

Change-Id: I7f4c9887d77c6d3ab1aca4e05963b6144a8b22f8
parent 6fb7e23b
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -26,7 +26,16 @@
</div> <!-- end api-info-block -->

<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>
</div>
<!-- end breadcrumb block -->