Skip to content
Snippets Groups Projects
Verified Commit d44d265e authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

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.
parent 5e1c9c4e
Branches
No related tags found
No related merge requests found
Pipeline #1075 passed
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment