mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 18:20:48 +01:00
refactor: Update itemid attribute in show.blade.php
The commit updates the itemid attribute in the show.blade.php file to dynamically set it based on the current URL. This change improves the accuracy of metadata for search engine optimization.
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
posts</a>
|
posts</a>
|
||||||
<article class="max-w-screen-md mx-auto mt-2 prose prose-stone prose-invert" itemscope
|
<article class="max-w-screen-md mx-auto mt-2 prose prose-stone prose-invert" itemscope
|
||||||
itemtype="https://schema.org/BlogPosting"
|
itemtype="https://schema.org/BlogPosting"
|
||||||
itemid="https://www.dataliberate.com/2019/05/14/library-metadata-evolution-final-mile/">
|
itemid="{{url()->current()}}">
|
||||||
<meta itemprop="wordCount" content="{{str_word_count($post->contents)}}">
|
<meta itemprop="wordCount" content="{{str_word_count($post->contents)}}">
|
||||||
<h3 class="not-prose text-sm text-center text-orange-100 font-semibold" itemprop="datePublished">
|
<h3 class="not-prose text-sm text-center text-orange-100 font-semibold" itemprop="datePublished">
|
||||||
{{ Carbon::parse($post->date)->format('F d, Y') }}
|
{{ Carbon::parse($post->date)->format('F d, Y') }}
|
||||||
|
|||||||
Reference in New Issue
Block a user