feat: Add meta tag for thumbnail URL

Added a new meta tag with the property "thumbnailUrl" to the show.blade.php file. The content of the meta tag is set to the value of `$post->thumbnail`. This will help improve SEO by providing search engines with information about the thumbnail image associated with the post.
This commit is contained in:
Rico van Zelst
2023-12-14 14:29:24 +01:00
parent 20bdb09a8e
commit c95d28164f

View File

@@ -26,6 +26,7 @@
</h3>
<img src="{{$post->thumbnail}}" alt="{{$post->title}} Thumbnail"
class="not-prose aspect-video h-80 mt-2 mb-2 mx-auto rounded-3xl border-orange-500/40 border-2"/>
<meta itemprop="thumbnailUrl" content="{{$post->thumbnail}}"/>
<div>
<h1
class="not-prose text-3xl font-bold text-center text-transparent uppercase sm:text-4xl