mirror of
https://github.com/archtechx/laravel-seo.git
synced 2025-12-12 18:04:03 +00:00
Merge pull request #4 from Larsklopstra/patch-1
Add regular description
This commit is contained in:
commit
125a94d727
1 changed files with 13 additions and 3 deletions
|
|
@ -1,9 +1,19 @@
|
||||||
<title>@seo('title')</title>
|
@if(seo('title'))
|
||||||
|
<title>@seo('title')</title>
|
||||||
|
<meta property="og:title" content="@seo('title')" />
|
||||||
|
@endif
|
||||||
|
|
||||||
|
@if(seo('description'))
|
||||||
|
<meta property="og:description" content="@seo('description')" />
|
||||||
|
<meta name="description" content="@seo('description')" />
|
||||||
|
@endif
|
||||||
|
|
||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
|
|
||||||
@if(seo('site')) <meta property="og:site_name" content="@seo('site')"> @endif
|
@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
|
@if(seo('image')) <meta property="og:image" content="@seo('image')" /> @endif
|
||||||
|
|
||||||
@if(seo('url'))
|
@if(seo('url'))
|
||||||
<meta property="og:url" content="@seo('url')" />
|
<meta property="og:url" content="@seo('url')" />
|
||||||
<link rel="canonical" href="@seo('url')" />
|
<link rel="canonical" href="@seo('url')" />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue