From 7967f325fa472820d1635054bcb57aef22524efb Mon Sep 17 00:00:00 2001 From: Dave Smith-Hayes Date: Sat, 25 May 2024 21:52:49 -0400 Subject: [PATCH] Add tags to the site schema configuration. --- app/src/Bootstrap.php | 5 ++++- app/src/Configuration/SiteInformationSchema.php | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/src/Bootstrap.php b/app/src/Bootstrap.php index 1621f44..0c6fe0e 100644 --- a/app/src/Bootstrap.php +++ b/app/src/Bootstrap.php @@ -31,7 +31,10 @@ class Bootstrap $config->merge([ 'site' => [ 'name' => "Slovocast", - 'description' => "A no-bullshit podcast hosting platform." + 'description' => "A no-bullshit podcast hosting platform.", + 'tags' => [ + 'podcast', 'hosting', 'indie', 'independent', 'easy' + ] ], ]); diff --git a/app/src/Configuration/SiteInformationSchema.php b/app/src/Configuration/SiteInformationSchema.php index 8afeb33..71ecd5e 100644 --- a/app/src/Configuration/SiteInformationSchema.php +++ b/app/src/Configuration/SiteInformationSchema.php @@ -11,7 +11,8 @@ class SiteInformationSchema { return Expect::structure([ 'name' => Expect::string()->default("Slovocast"), - 'description' => Expect::string()->required() + 'description' => Expect::string()->required(), + 'tags' => Expect::array()->required(), ]); } }