79 lines
3.2 KiB
XML
79 lines
3.2 KiB
XML
<snippet>
|
|
<content><![CDATA[
|
|
<!DOCTYPE html>
|
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
|
|
<meta name="robots" content="index,follow">
|
|
<meta name="googlebot" content="index,follow">
|
|
|
|
<meta name="format-detection" content="telephone=no">
|
|
<meta http-equiv="x-dns-prefetch-control" content="off">
|
|
|
|
<meta name="google" content="notranslate">
|
|
<meta name="google" content="nositelinkssearchbox">
|
|
|
|
<meta name="rating" content="General">
|
|
|
|
<meta name="url" content="{{ url('/') }}">
|
|
<meta name="subject" content="{{$pageSubject ?? "your website's subject" }}"">
|
|
<meta name="description" content="{{ $pageDescription ?? 'A description of the page' }}">
|
|
|
|
<title>{{ config('app.name', 'Laravel') }}</title>
|
|
<meta name="application-name" content="Application Name">
|
|
|
|
<!-- Privacy -->
|
|
<meta name="twitter:dnt" content="on">
|
|
|
|
<!-- analytics -->
|
|
<!-- -->
|
|
|
|
<!-- Helps prevent duplicate content issues -->
|
|
{{-- <link href="{{ route()->current() }}" rel="canonical"> --}}
|
|
|
|
<!-- Gives a reference to a location in your document that may be in another language -->
|
|
{{-- <link href="#" rel="alternate" hreflang="de"> --}}
|
|
|
|
<link href="{{ url('copyright.html') }}" rel="copyright" integrity="{{ env('INTEGRITY_HASH_COPYRIGHT_HTML') }}">
|
|
|
|
<!-- Favicon -->
|
|
<link href="{{ url('/favicon.ico') }}" rel="icon" sizes="16x16" type="image/icon" integrity="{{ env('INTEGRITY_HASH_FAVICON_ICO') }}">
|
|
<link href="{{ url('/favicon.svg') }}" rel="icon" type="image/svg+xml" integrity="{{ env('INTEGRITY_HASH_FAVICON_SVG') }}">
|
|
<link href="{{ url('/favicon.png') }}" rel="icon" sizes="192x192" integrity="{{ env('INTEGRITY_HASH_FAVICON_PNG') }}">
|
|
|
|
<!-- Font preloads (should be done for each font file) -->
|
|
<link href="{{ url('fonts/fontfam/font.woff2') }}" rel="preload" as="font" type="font/woff2" crossorigin="anonymous">
|
|
|
|
<!-- Styles -->
|
|
<link href="{{ mix('css/app.css') }}" rel="stylesheet" media="all" integrity="{{ env('INTEGRITY_HASH_APP_CSS') }}">
|
|
@yield('css')
|
|
|
|
<!-- Scripts -->
|
|
<script>
|
|
if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
|
|
document.documentElement.classList.remove('light')
|
|
document.documentElement.classList.add('dark')
|
|
}
|
|
</script>
|
|
|
|
@routes
|
|
<script src="{{ mix('js/app.js') }}" integrity="{{ env('INTEGRITY_HASH_APP_JS') }}" defer></script>
|
|
@inertiaHead
|
|
|
|
</head>
|
|
<body class="font-sans antialiased">
|
|
@inertia
|
|
|
|
</body>
|
|
</html>
|
|
|
|
]]></content>
|
|
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
|
|
<tabTrigger>baseblade</tabTrigger>
|
|
<!-- Optional: Set a scope to limit where the snippet will trigger -->
|
|
<!-- <scope>source.python</scope> -->
|
|
</snippet>
|