mirror of
https://github.com/archtechx/laravel-seo.git
synced 2025-12-12 09:54:03 +00:00
Allow setting tag('og:title', ...)
This commit is contained in:
parent
2480e532bf
commit
f6bb4e8f64
4 changed files with 34 additions and 3 deletions
|
|
@ -1,9 +1,14 @@
|
|||
@if(seo('title'))
|
||||
<title>@seo('title')</title>
|
||||
<meta property="og:title" content="@seo('title')" />
|
||||
|
||||
@if(seo()->hasTag('og:title'))
|
||||
<meta property="og:title" content="@seo('og:title')" />
|
||||
@else
|
||||
<meta property="og:title" content="@seo('title')" />
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@if(seo('description'))
|
||||
@if(seo('description'))
|
||||
<meta property="og:description" content="@seo('description')" />
|
||||
<meta name="description" content="@seo('description')" />
|
||||
@endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue