From fa3472286d64e17a667f5c3702b8620774d09d6a Mon Sep 17 00:00:00 2001 From: Mateusz Charytoniuk <mateusz.charytoniuk@protonmail.com> Date: Sat, 10 Feb 2024 20:07:34 +0100 Subject: [PATCH] chore(docs): sorting pages --- src/StaticPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StaticPage.php b/src/StaticPage.php index 794dd39f..bf0876cc 100644 --- a/src/StaticPage.php +++ b/src/StaticPage.php @@ -22,7 +22,7 @@ readonly class StaticPage return 0; } - return $this->frontMatter->title <=> $other->frontMatter->title; + return mb_strtolower($this->frontMatter->title) <=> mb_strtolower($other->frontMatter->title); } public function getBasename(): string -- GitLab