ldc-cocotte/resources/views/fo/layouts/head.blade.php

48 lines
1.7 KiB
PHP

{{-- Meta --}}
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta name="description" content="@yield('description')">
<meta name="viewport" content="width=device-width, initial-scale=1">
@hasSection('canonical')
<link href="@yield('canonical')" rel="canonical" />
@else
<link href="{{ url()->current() }}" rel="canonical" />
@endif
{{-- META INDEX, FOLLOW --}}
@hasSection('metaIndex')
<meta name="robots" content="@yield('metaIndex')">
@else
<meta name="robots" content="index, follow">
@endif
{{-- Open Graph --}}
<meta property="og:title" content="{{ config('app.name') }} - @yield('title')" />
<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="{{ Vite::asset('resources/assets/images/logo.png') }}" />
<meta property="og:description" content="@yield('description')" />
{{-- Favicon --}}
<link type="image/png" href="/favicon-96x96.png?v=20260410" rel="icon" sizes="96x96" />
<link type="image/svg+xml" href="/favicon.svg?v=20260410" rel="icon" />
<link href="/favicon.ico?v=20260410" rel="shortcut icon" />
<link href="/apple-touch-icon.png?v=20260410" rel="apple-touch-icon" sizes="180x180" />
<meta name="apple-mobile-web-app-title" content="{{ config('app.name') }}" />
<link href="/site.webmanifest?v=20260410" rel="manifest" />
{{-- Others --}}
@if (config('app.debug'))
<script nonce="{{ Vite::cspNonce() }}">
window.vueDebug = true;
</script>
@endif
{{-- STYLES --}}
@vite(['resources/sass/fo/fo.scss'])
@stack('styles')
@include('fo.modules.breadcrumb.breadcrumb-head')