mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-01 02:29:10 -04:00
Don't show the breadcrumb if we have no item
This commit is contained in:
@@ -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): ?>
|
||||
|
||||
Reference in New Issue
Block a user