Skip to content

Commit 125a94d

Browse files
authored
Merge pull request #4 from Larsklopstra/patch-1
Add regular description
2 parents 713e574 + 6c2cd50 commit 125a94d

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

assets/views/components/meta.blade.php

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
1-
<title>@seo('title')</title>
1+
@if(seo('title'))
2+
<title>@seo('title')</title>
3+
<meta property="og:title" content="@seo('title')" />
4+
@endif
5+
6+
@if(seo('description'))
7+
<meta property="og:description" content="@seo('description')" />
8+
<meta name="description" content="@seo('description')" />
9+
@endif
10+
211
<meta property="og:type" content="website" />
12+
313
@if(seo('site')) <meta property="og:site_name" content="@seo('site')"> @endif
4-
@if(seo('title')) <meta property="og:title" content="@seo('title')" /> @endif
5-
@if(seo('description')) <meta property="og:description" content="@seo('description')" /> @endif
14+
615
@if(seo('image')) <meta property="og:image" content="@seo('image')" /> @endif
16+
717
@if(seo('url'))
818
<meta property="og:url" content="@seo('url')" />
919
<link rel="canonical" href="@seo('url')" />

0 commit comments

Comments
 (0)