mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 18:20:48 +01:00
feat: SEO Improvements
- Added `APP_STAGING` variable to `.env.example` - Updated `config/app.php` to use `APP_STAGING` for determining the value of `IS_STAGING` - Updated `resources/views/layouts/app.blade.php` and `resources/views/posts/show.blade.php` to include additional meta tags for SEO and attribution
This commit is contained in:
@@ -187,4 +187,17 @@ return [
|
||||
// 'Example' => App\Facades\Example::class,
|
||||
])->toArray(),
|
||||
|
||||
/*
|
||||
| Configurations mostly used for SEO and attribution.
|
||||
| These are used in the <head> of the page.
|
||||
| Do not change these to your own URL, as they are used for attribution.
|
||||
| If you want to change the URL, change the APP_URL in your .env file.
|
||||
*/
|
||||
|
||||
'IS_STAGING' => env('APP_STAGING') == 'true',
|
||||
|
||||
'HEIMER_URL' => env('APP_ENV') == 'local' ? 'http://127.0.0.1:8000'
|
||||
: (env('IS_STAGING')
|
||||
? 'https://staging.heimerdinger.lol'
|
||||
: 'https://heimerdinger.lol'),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user