mirror of
https://github.com/archtechx/laravel-seo.git
synced 2025-12-12 01:44:03 +00:00
Add type()
This commit is contained in:
parent
1450ce17a7
commit
94be0f7e06
3 changed files with 11 additions and 7 deletions
|
|
@ -12,10 +12,11 @@
|
|||
<meta name="description" content="@seo('description')" />
|
||||
@endif
|
||||
|
||||
@unless(seo()->hasTag('og:type'))
|
||||
{{-- If an og:type tag is provided directly, it's included in the @foreach below --}}
|
||||
@if(seo('type'))
|
||||
<meta property="og:type" content="@seo('type')" />
|
||||
@else
|
||||
<meta property="og:type" content="website" />
|
||||
@endunless
|
||||
@endif
|
||||
|
||||
@if(seo('site')) <meta property="og:site_name" content="@seo('site')"> @endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue