Add tags to the site schema configuration.

This commit is contained in:
Dave Smith-Hayes 2024-05-25 21:52:49 -04:00
parent c478be5601
commit 7967f325fa
2 changed files with 6 additions and 2 deletions

View File

@ -31,7 +31,10 @@ class Bootstrap
$config->merge([ $config->merge([
'site' => [ 'site' => [
'name' => "Slovocast", 'name' => "Slovocast",
'description' => "A no-bullshit podcast hosting platform." 'description' => "A no-bullshit podcast hosting platform.",
'tags' => [
'podcast', 'hosting', 'indie', 'independent', 'easy'
]
], ],
]); ]);

View File

@ -11,7 +11,8 @@ class SiteInformationSchema
{ {
return Expect::structure([ return Expect::structure([
'name' => Expect::string()->default("Slovocast"), 'name' => Expect::string()->default("Slovocast"),
'description' => Expect::string()->required() 'description' => Expect::string()->required(),
'tags' => Expect::array()->required(),
]); ]);
} }
} }