mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 18:20:48 +01:00
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:
@@ -26,6 +26,7 @@
|
|||||||
</h3>
|
</h3>
|
||||||
<img src="{{$post->thumbnail}}" alt="{{$post->title}} Thumbnail"
|
<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"/>
|
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>
|
<div>
|
||||||
<h1
|
<h1
|
||||||
class="not-prose text-3xl font-bold text-center text-transparent uppercase sm:text-4xl
|
class="not-prose text-3xl font-bold text-center text-transparent uppercase sm:text-4xl
|
||||||
|
|||||||
Reference in New Issue
Block a user