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:
Rico van Zelst
2023-12-14 14:11:08 +01:00
parent 2ef8330132
commit b88cdc1f07
4 changed files with 26 additions and 0 deletions

View File

@@ -4,6 +4,14 @@
@section('title', $post->title . ' • Heimerdinger.LoL')
@section('description', 'Heimerdinger.LoL: ' . $post->description)
@push('meta_tags')
<link rel="canonical" href="{{config('app.HEIMER_URL') . '/post/' . $post->slug}}">
<meta name="author" content="Heimerdinger.LoL">
<meta name="robots" content="index, follow">
<meta name="googlebot" content="index, follow">
@endpush
@section('content')
<a href="{{route('posts.index')}}"
class="block mt-8 text-center text-orange-400 text-sm uppercase font-medium hover:underline">Back