From d44d265ea960fa5ad49bba42b9c653acd89b552f Mon Sep 17 00:00:00 2001
From: SofianeLasri <alasri250@gmail.com>
Date: Thu, 20 Feb 2025 15:29:50 +0100
Subject: [PATCH] feat(meta): simplify Open Graph title meta tag handling

Updated the Open Graph title meta tag to provide a default value of 'Rann Graphic Design' when the title is not set, streamlining the code by removing the conditional check.
---
 resources/views/layouts/public.blade.php | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/resources/views/layouts/public.blade.php b/resources/views/layouts/public.blade.php
index 34fecbc..8706285 100644
--- a/resources/views/layouts/public.blade.php
+++ b/resources/views/layouts/public.blade.php
@@ -11,9 +11,8 @@
 
     <meta property="og:locale" content="{{ config('app.locale') }}">
     <meta property="og:locale:alternate" content="{{ config('app.fallback_locale') }}">
-    @if(!empty($title))
-        <meta property="og:title" content="{{ $title }}">
-    @endif
+
+    <meta property="og:title" content="{{ !empty($title) ? $title : 'Rann Graphic Design' }}">
     <meta property="og:type" content="website">
     <meta property="og:url" content="{{ url()->current() }}">
     @if(!empty($description))
-- 
GitLab