mirror of
https://github.com/archtechx/laravel-seo.git
synced 2025-12-12 01:44:03 +00:00
Canonical URLs, fix #1
This commit is contained in:
parent
6df030c28d
commit
db7269ff28
4 changed files with 67 additions and 10 deletions
|
|
@ -4,6 +4,10 @@
|
|||
@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
|
||||
@if(seo('url'))
|
||||
<meta property="og:url" content="@seo('url')" />
|
||||
<link rel="canonical" href="@seo('url')" />
|
||||
@endif
|
||||
|
||||
@foreach(seo()->tags() as $tag)
|
||||
{!! $tag !!}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue