Skip to content

Commit

Permalink
Explicitly set the titles
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Jul 24, 2024
1 parent 356c4c5 commit 3ebb758
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public function __construct(PostAuthor $author)
{
parent::__construct($author->username, [
'author' => $author,
'title' => $author->name,
'navigation' => [
'visible' => PostAuthorsPage::$showInNavigation,
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public function __construct(Collection $authors)
{
parent::__construct('index', [
'authors' => $authors,
'title' => 'Authors',
'navigation' => [
'visible' => static::$showInNavigation,
],
Expand Down

0 comments on commit 3ebb758

Please sign in to comment.