Skip to content

Commit

Permalink
Merge pull request #4 from Larsklopstra/patch-1
Browse files Browse the repository at this point in the history
Add regular description
  • Loading branch information
stancl authored May 27, 2021
2 parents 713e574 + 6c2cd50 commit 125a94d
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions assets/views/components/meta.blade.php
Original file line number Diff line number Diff line change
@@ -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" />

@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('url'))
<meta property="og:url" content="@seo('url')" />
<link rel="canonical" href="@seo('url')" />
Expand Down

0 comments on commit 125a94d

Please sign in to comment.