54 lines
2.1 KiB
PHP
54 lines
2.1 KiB
PHP
{{-- Meta --}}
|
|
<meta charset="utf-8">
|
|
{{-- blade-formatter-disable --}}
|
|
@hasSection('metaIndex')
|
|
<meta name="robots" content="@yield('metaIndex')">
|
|
@else
|
|
<meta name="robots" content="index, follow">
|
|
@endif
|
|
{{-- blade-formatter-enable --}}
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
<meta name="description" content="@yield('description')">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
{{-- Open Graph --}}
|
|
{{-- blade-formatter-disable-next-line --}}
|
|
<meta property="og:title" content="{{ $settingsGlobal->name ?? config('app.name') }} @hasSection('title') - @yield('title')@endif" />
|
|
<meta property="og:type" content="website" />
|
|
<meta property="og:url" content="{{ config('app.url') }}" />
|
|
<meta property="og:site_name" content="{{ config('app.name') }}" />
|
|
<meta property="og:image" content="" />
|
|
<meta property="og:description" content="@yield('description')" />
|
|
|
|
{{-- Favicon --}}
|
|
{{-- GENERER favicon avec un outil https://realfavicongenerator.net/ --}}
|
|
<link href="{{ asset('apple-touch-icon.png') }}" rel="apple-touch-icon" sizes="180x180">
|
|
<link type="image/png" href="{{ asset('favicon-32x32.png') }}" rel="icon" sizes="32x32">
|
|
<link type="image/png" href="{{ asset('favicon-16x16.png') }}" rel="icon" sizes="16x16">
|
|
<link href="{{ asset('site.webmanifest') }}" rel="manifest">
|
|
<link href="{{ asset('safari-pinned-tab.svg') }}" rel="mask-icon" color="#d66868">
|
|
<meta name="msapplication-TileColor" content="#2b5797">
|
|
<meta name="theme-color" content="#ffffff">
|
|
|
|
{{-- Others --}}
|
|
{{-- blade-formatter-disable-next-line --}}
|
|
<title>{{ $settingsGlobal->name ?? config('app.name') }}@hasSection('title') - @yield('title')@endif</title>
|
|
|
|
{{-- blade-formatter-disable --}}
|
|
@hasSection('canonical')
|
|
<link href="@yield('canonical')" rel="canonical" />
|
|
@else
|
|
<link href="{{ \config('app.url') }}/{{ \request()->path() }}" rel="canonical" />
|
|
@endif
|
|
{{-- blade-formatter-enable --}}
|
|
|
|
{{-- STYLES --}}
|
|
@vite(['resources/theme/mounted/sass/fo.scss'])
|
|
@stack('styles')
|
|
|
|
{{-- DEBUG --}}
|
|
@if (config('app.debug'))
|
|
<script nonce="{{ $nonce }}">
|
|
window.vueDebug = true;
|
|
</script>
|
|
@endif
|