70 lines
2.5 KiB
PHP
70 lines
2.5 KiB
PHP
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
|
|
<title>@yield('title') - {{ config('app.name') }}</title>
|
|
@hasSection('description')
|
|
<meta name="description" content="@yield('description')">
|
|
@endif
|
|
|
|
<!-- Open Graph -->
|
|
<meta property="og:title" content="@yield('title') - {{ config('app.name') }}" />
|
|
<meta property="og:type" content="website" />
|
|
@hasSection('canonical')
|
|
<meta property="og:url" content="@yield('canonical')" />
|
|
@else
|
|
<meta property="og:url" content="{{ url()->current() }}" />
|
|
@endif
|
|
<meta property="og:site_name" content="{{ config('app.name') }}" />
|
|
@hasSection('ogPicture')
|
|
<meta property="og:image" content="@yield('ogPicture')" />
|
|
@else
|
|
<meta property="og:image" content="{{ asset('build/assets/images/opengraph-website.png') }}" />
|
|
@endif
|
|
@hasSection('description')
|
|
<meta property="og:description" content="@yield('description')" />
|
|
@endif
|
|
|
|
<!-- CSRF Token -->
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
|
|
@hasSection('canonical')
|
|
<link rel="canonical" href="@yield('canonical')" />
|
|
@else
|
|
<link rel="canonical" href="{{ url()->current() }}" />
|
|
@endif
|
|
|
|
<!-- META INDEX, FOLLOW -->
|
|
@hasSection('metaIndex')
|
|
<meta name="robots" content="@yield('metaIndex')">
|
|
@else
|
|
<meta name="robots" content="index, follow">
|
|
@endif
|
|
|
|
<!-- Favicon -->
|
|
<link rel="icon" type="image/png" href="/favicon.png" />
|
|
|
|
<!-- META FACEBOOK -->
|
|
<meta property="og:title" content="@yield('title')">
|
|
<meta property="og:description" content="@yield('description')">
|
|
<meta property="og:type" content="website">
|
|
{{-- @section('facebook_share_img')
|
|
<meta property="og:image" content="{{ asset('build/assets/images/socialshare/facebook-home.jpg') }}">
|
|
@show --}}
|
|
<meta property="og:site_name" content="Le Gaulois Professionnel">
|
|
<meta property="og:url" content="{{ url()->current() }}">
|
|
|
|
<!-- META TWITTER -->
|
|
<meta name="twitter:card" content="summary_large_image" />
|
|
<meta name="twitter:site" content="Le Gaulois">
|
|
<meta name="twitter:title" content="@yield('title')">
|
|
<meta name="twitter:description" content="@yield('description')">
|
|
{{-- @section('twitter_share_img')
|
|
<meta property="og:image" content="{{ asset('build/assets/images/socialshare/twitter-home.jpg') }}">
|
|
@show --}}
|
|
<meta name="twitter:url" content="{{ url()->current() }}">
|
|
|
|
<!-- STYLES -->
|
|
<link rel="stylesheet" href="{{ mix('css/front.css', 'build') }}">
|
|
<link rel="stylesheet" href="{{ mix('css/v-extract.css', 'build') }}">
|
|
@stack('styles')
|