@@ -69,6 +69,7 @@ public function __construct(
6969 private readonly string $ outputFile ,
7070 private readonly string $ baseUrl ,
7171 private readonly ?string $ pagesDir = null ,
72+ private readonly string $ title = 'Dotkernel ' ,
7273 ) {
7374 }
7475
@@ -138,7 +139,7 @@ private function buildCategorySection(string $slug, array $entries): string
138139 {
139140 $ category = $ entries [0 ]['post ' ]->getCategory ();
140141 $ heading = sprintf (
141- '## %s (%d post%s) ' ,
142+ '### %s (%d post%s) ' ,
142143 $ category ->getName (),
143144 count ($ entries ),
144145 count ($ entries ) === 1 ? '' : 's ' ,
@@ -153,7 +154,7 @@ private function buildCategorySection(string $slug, array $entries): string
153154
154155 foreach ($ entries as $ entry ) {
155156 $ lines [] = sprintf (
156- '- [%s](%s/%s/%s/ ): %s ' ,
157+ '- [%s](%s/%s/%s.md ): %s ' ,
157158 $ entry ['title ' ],
158159 $ this ->baseUrl ,
159160 $ slug ,
@@ -218,7 +219,7 @@ private function buildPagesSection(): string
218219 $ lines = ['## Pages ' , '' ];
219220 foreach ($ pages as $ page ) {
220221 $ lines [] = sprintf (
221- '- [%s](%s/%s/ ): %s ' ,
222+ '- [%s](%s/md-pages/%s.md ): %s ' ,
222223 $ page ['title ' ],
223224 $ this ->baseUrl ,
224225 $ page ['slug ' ],
@@ -240,7 +241,7 @@ private function extractFrontMatterField(string $contents, string $field): ?stri
240241
241242 private function buildHeader (): string
242243 {
243- $ intro = '> Dotkernel Light is the technical blog for the Dotkernel headless PHP platform - a PSR-15 '
244+ $ intro = '> Dotkernel is the technical blog for the Dotkernel headless PHP platform - a PSR-15 '
244245 . 'compliant application built on Mezzio and Laminas components. It publishes architecture '
245246 . 'write-ups, how-tos, and release notes for the platform applications - Dotkernel API, Admin '
246247 . 'and Queue - and for the standalone Dotkernel Light skeleton. ' ;
@@ -253,7 +254,7 @@ private function buildHeader(): string
253254 $ about = 'the team behind Dotkernel - how the team works, its commitment to open source and the PHP '
254255 . 'community, and how it uses AI under guardrails ' ;
255256
256- return "# Dotkernel Light \n\n"
257+ return "# { $ this -> title } \n\n"
257258 . $ intro . "\n\n"
258259 . $ body . "\n\n"
259260 . "## Docs \n\n"
0 commit comments