feat: generate category for services

This commit is contained in:
peaklabs-dev 2025-08-18 17:28:20 +02:00
parent ee502b9f76
commit dbed6c270e
No known key found for this signature in database
3 changed files with 529 additions and 0 deletions

View file

@ -74,6 +74,7 @@ private function processFile(string $file): false|array
'slogan' => $data->get('slogan', str($file)->headline()),
'compose' => $compose,
'tags' => $tags,
'category' => $data->get('category'),
'logo' => $data->get('logo', 'svgs/default.webp'),
'minversion' => $data->get('minversion', '0.0.0'),
];
@ -143,6 +144,7 @@ private function processFileWithFqdn(string $file): false|array
'slogan' => $data->get('slogan', str($file)->headline()),
'compose' => $compose,
'tags' => $tags,
'category' => $data->get('category'),
'logo' => $data->get('logo', 'svgs/default.webp'),
'minversion' => $data->get('minversion', '0.0.0'),
];
@ -211,6 +213,7 @@ private function processFileWithFqdnRaw(string $file): false|array
'slogan' => $data->get('slogan', str($file)->headline()),
'compose' => $compose,
'tags' => $tags,
'category' => $data->get('category'),
'logo' => $data->get('logo', 'svgs/default.webp'),
'minversion' => $data->get('minversion', '0.0.0'),
];

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff