summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-11-25 14:50:04 -0800
committerBharat Mediratta <bharat@menalto.com>2009-11-25 14:50:04 -0800
commit8b7ef660650e3711442972aabcd545959ee9bc94 (patch)
tree6ac9f4e03d6f047fe23541e839214cfb47c239e4 /themes
parentdaedadda751a188c20f032b09c1ca32e39279360 (diff)
Don't show the breadcrumb if we have no item
Diffstat (limited to 'themes')
-rw-r--r--themes/wind/views/page.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/wind/views/page.html.php b/themes/wind/views/page.html.php
index 9c440412..2dcc5d70 100644
--- a/themes/wind/views/page.html.php
+++ b/themes/wind/views/page.html.php
@@ -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): ?>