add general meta tags
parent
b8b2f4dd82
commit
821781b0b1
|
@ -10,18 +10,12 @@
|
|||
<link rel="icon" type="image/png" sizes="32x32" href="{{$favicon['32']}}">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="{{$favicon['16']}}">
|
||||
|
||||
<!--Startseite -->
|
||||
|
||||
|
||||
<!--Content -->
|
||||
|
||||
<!--Liste -->
|
||||
|
||||
<!--Author -->
|
||||
<!--Home -->
|
||||
@if(Route::currentRouteName() == 'index')
|
||||
<!-- meta tag -->
|
||||
|
||||
<!--Page -->
|
||||
@if(Route::currentRouteName() == 'index')
|
||||
|
||||
@elseif(Route::currentRouteName() == 'page.show')
|
||||
<meta property="og:site_name" content="{{config('settings.name')}}" />
|
||||
<meta property="og:title" content="{{config('settings.name')}}" />
|
||||
<meta property="og:description" content="{{config('settings.description')}}" />
|
||||
|
@ -31,10 +25,14 @@
|
|||
<meta property="og:image:width" content="1280" />
|
||||
<meta property="og:image:height" content="640" />
|
||||
<meta property="twitter:card" content="summary_large_image" />
|
||||
<meta property="twitter:image" content="" />
|
||||
<meta property="twitter:image" content=""/>
|
||||
|
||||
<!--List -->
|
||||
@elseif(Route::currentRouteName() == 'lists.show' and isset($content))
|
||||
<!-- meta tag -->
|
||||
|
||||
@elseif(Route::currentRouteName() == 'content' and isset($content))
|
||||
<!--Content -->
|
||||
@elseif(Route::currentRouteName() == 'contents.show' and isset($content))
|
||||
<title>{{ $content->title }}</title>
|
||||
<meta name="description" content="">
|
||||
<meta property="og:description" content="">
|
||||
|
@ -44,11 +42,23 @@
|
|||
<meta property="og:title" content="{{ $content->title}}">
|
||||
<meta property="og:site_name" content="{{ config('settings.name') }}">
|
||||
<meta property="og:url" content="{{ \Request::url() }}">
|
||||
|
||||
@if ($content->image)
|
||||
<meta property="og:image" content="{{$content->image}}">
|
||||
@else
|
||||
<meta property="og:image" content="{{$content->image}}">
|
||||
@endif
|
||||
|
||||
@if($content->type->name == "Vaga")
|
||||
<!-- meta tag -->
|
||||
@elseif($content->type->name == "Produto")
|
||||
<!-- meta tag -->
|
||||
@endif
|
||||
|
||||
<!--Author -->
|
||||
@elseif(Route::currentRouteName() == 'contents.show' and isset($author))
|
||||
<!-- meta tag -->
|
||||
|
||||
@else
|
||||
<meta property="og:site_name" content="{{config('settings.name')}}" />
|
||||
<meta property="og:title" content="{{config('settings.name')}}" />
|
||||
|
@ -62,10 +72,6 @@
|
|||
<meta property="twitter:image" content="" />
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@if($_schriftart == "Montserrat")
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
|
|
Loading…
Reference in New Issue