mirror of
https://github.com/archtechx/laravel-seo.git
synced 2025-12-12 01:44:03 +00:00
finished
This commit is contained in:
parent
051a32575c
commit
b12c9ecb55
21 changed files with 750 additions and 86 deletions
5
assets/views/components/extensions/twitter.blade.php
Normal file
5
assets/views/components/extensions/twitter.blade.php
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<meta name="twitter:card" content="summary_large_image">
|
||||
@if(seo('twitter.user')) <meta name="twitter:site" content="@seo('twitter.user')"> @endif
|
||||
@if(seo('twitter.title')) <meta name="twitter:title" content="@seo('twitter.title')"> @endif
|
||||
@if(seo('twitter.description')) <meta name="twitter:description" content="@seo('twitter.description')"> @endif
|
||||
@if(seo('twitter.image')) <meta name="twitter:image" content="@seo('twitter.image')" /> @endif
|
||||
10
assets/views/components/meta.blade.php
Normal file
10
assets/views/components/meta.blade.php
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<title>@seo('title')</title>
|
||||
<meta property="og:type" content="website" />
|
||||
@if(seo('site')) <meta property="og:site_name" content="@seo('site')"> @endif
|
||||
@if(seo('title')) <meta property="og:title" content="@seo('title')" /> @endif
|
||||
@if(seo('description')) <meta property="og:description" content="@seo('description')" /> @endif
|
||||
@if(seo('image')) <meta property="og:image" content="@seo('image')" /> @endif
|
||||
|
||||
@foreach(seo()->extensions() as $extension)
|
||||
<x-dynamic-component :component="$extension" />
|
||||
@endforeach
|
||||
Loading…
Add table
Add a link
Reference in a new issue