diff --git a/src/.env.example b/src/.env.example index c1aaa97ff..67625bc3e 100644 --- a/src/.env.example +++ b/src/.env.example @@ -54,3 +54,8 @@ DISCORD_REDIRECT_URL= DISCORD_CLIENT_ID= DISCORD_CLIENT_SECRET= DISCORD_SCOPE= + +## SEO + +SEO_DESCRIPTION +SEO_KEYWORDS= \ No newline at end of file diff --git a/src/app/Providers/AppServiceProvider.php b/src/app/Providers/AppServiceProvider.php index 865534665..460a70bb4 100644 --- a/src/app/Providers/AppServiceProvider.php +++ b/src/app/Providers/AppServiceProvider.php @@ -44,7 +44,7 @@ public function boot() seo() ->site(config('app.name')) - ->description(default: config('app.tagline')) + ->description(default: config('app.seo_description')) ->image(default: fn () => config('app.url') . config('app.logo')) ->twitterSite('@LanOps'); } diff --git a/src/config/app.php b/src/config/app.php index 8cb64473a..26b6b97ef 100644 --- a/src/config/app.php +++ b/src/config/app.php @@ -36,6 +36,9 @@ 'discord_client_id' => env('DISCORD_CLIENT_ID', ''), 'discord_client_secret' => env('DISCORD_CLIENT_SECRET', ''), 'discord_scope' => env('DISCORD_SCOPE', 'identify'), + + 'seo_description' => env('SEO_DESCRIPTION', ''), + 'seo_keywords' => env('SEO_KEYWORDS', 'UK Lan, LAN, LAN Party, South Yorkshire, Gaming, lanops, UK, community'), /* diff --git a/src/resources/views/layouts/default.blade.php b/src/resources/views/layouts/default.blade.php index 827668a0a..4dadf2aeb 100644 --- a/src/resources/views/layouts/default.blade.php +++ b/src/resources/views/layouts/default.blade.php @@ -15,7 +15,7 @@ {{ config('app.tagline') }} | {{ config('app.name') }} @endif - +