Skip to content

Commit

Permalink
Merge pull request #387 from hydephp/386-label-setting-in-documentati…
Browse files Browse the repository at this point in the history
…on-page-front-matter-does-not-work-anymore

Add missing constructor for documentation page sidebar labels hydephp/develop@89b281b
  • Loading branch information
github-actions committed Aug 8, 2022
1 parent 818a527 commit bf78861
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ protected function constructDocumentationPageSchema(): void
{
$this->category = static::getDocumentationPageCategory();

$this->label = $this->matter('label', $this->title);
$this->hidden = $this->matter('hidden', $this->identifier === 'index');
$this->priority = $this->matter('priority', $this->findPriorityInConfig());
}
Expand Down

0 comments on commit bf78861

Please sign in to comment.