We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9fc79d commit fa5cbbfCopy full SHA for fa5cbbf
partials/breadcrumbs/array-based.php
@@ -41,7 +41,9 @@
41
foreach ($nodes as $url => $title) {
42
$navigation_nodes[] = "<a href=\"{$url}\">{$title}</a>";
43
}
44
- $navigation_nodes[] = '<a href="'.Phpr::$request->getCurrentUri().'" class="current">' . $this->page->title . '</a>';
+ if (Phpr::$request->getCurrentUri() != '/')
45
+ $navigation_nodes[] = '<a href="'.Phpr::$request->getCurrentUri().'" class="current">' . $this->page->title . '</a>';
46
?>
47
48
<?= join(' » ', $navigation_nodes) ?>
49
+
0 commit comments