Skip to content

Commit

Permalink
Update PageTitle.php
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbruce committed Oct 15, 2021
1 parent c53ff0d commit 679871d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PageComponents/PageTitle.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ private function combineTitles(array $titles): string
if ($this->isReversed()) {
$titles = array_reverse($titles);
}
return implode(' | ', $titles);
return implode(' | ', array_filter($titles));
}

/**
Expand Down

0 comments on commit 679871d

Please sign in to comment.