Don't show the breadcrumb if we have no item

This commit is contained in:
Bharat Mediratta
2009-11-25 14:50:04 -08:00
parent daedadda75
commit 8b7ef66065

View File

@@ -96,7 +96,7 @@
<?= $theme->header_bottom() ?>
</div>
<? if (!empty($parents)): ?>
<? if ($theme->item() && !empty($parents)): ?>
<ul class="g-breadcrumbs">
<? $i = 0 ?>
<? foreach ($parents as $parent): ?>