mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 18:20:48 +01:00
feat: Enhance social media sharing meta image for blogpost
- Update OpenGraph and Twitter meta tags in app.blade.php to dynamically set og:image based on content. - Modify show.blade.php to include post thumbnail as og_image for better social media sharing.
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
@use('Carbon\Carbon')
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('title', $post->title . ' • Heimerdinger.LoL')
|
||||
@section('title', $post->title)
|
||||
@section('description', 'Heimerdinger.LoL: ' . $post->description)
|
||||
|
||||
@section('og_image', $post->thumbnail)
|
||||
|
||||
@push('meta_tags')
|
||||
<link rel="canonical" href="{{ config('app.HEIMER_URL') . '/post/' . $post->slug }}">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user