mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 10:10: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user