Skip to content

Commit

Permalink
Don't show the breadcrumb if we have no item
Browse files Browse the repository at this point in the history
  • Loading branch information
bharat committed Nov 25, 2009
1 parent daedadd commit 8b7ef66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/wind/views/page.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -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): ?>
Expand Down

0 comments on commit 8b7ef66

Please sign in to comment.