Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
create proper link for recent_cats breadcrumb. Further fixes #153
  • Loading branch information
tkuther committed Mar 2, 2018
1 parent cb1aa4f commit 107fd03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themeconf.inc.php
Expand Up @@ -199,7 +199,7 @@ function strip_breadcrumbs() {
$title = str_replace('<a href', '<a class="nav-breadcrumb-item" href', $title);
$title = str_replace($l_sep, '', $title);
if ($page['section'] == 'recent_cats') {
$title = str_replace('</a>', '</a><a class="nav-breadcrumb-item" href="#">', $title) . '</a>';
$title = str_replace('</a>', '</a><a class="nav-breadcrumb-item" href="' . make_index_url(array('section' => 'recent_cats')) . '">', $title) . '</a>';
}
if (empty($section_title)) {
$template->assign('TITLE', $title);
Expand Down

0 comments on commit 107fd03

Please sign in to comment.