Skip to content

Commit

Permalink
add twitter card seo tag
Browse files Browse the repository at this point in the history
  • Loading branch information
saleem-hadad committed Sep 17, 2018
1 parent 8eb0551 commit df82de7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion resources/views/default.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@
<meta name="author" content="{{ config('larecipe.seo.author') }}">
<meta name="description" content="{{ config('larecipe.seo.description') }}">
<meta name="keywords" content="{{ config('larecipe.seo.keywords') }}">
<meta name="twitter:card" value="summary">
@if (isset($canonical) && $canonical)
<link rel="canonical" href="{{ url($canonical) }}" />
@endif
@foreach (config('larecipe.seo.og') as $openGraphKey => $openGraphValue)
<meta property="og:{{ $openGraphKey }}" content="{{ $openGraphValue }}" />
@if($openGraphValue)
<meta property="og:{{ $openGraphKey }}" content="{{ $openGraphValue }}" />
@endif
@endforeach

{{-- CSS --}}
Expand Down

0 comments on commit df82de7

Please sign in to comment.