Added my snippets and current settings on Linux
This commit is contained in:
74
Packages/User/blade.base.sublime-snippet
Normal file
74
Packages/User/blade.base.sublime-snippet
Normal file
@ -0,0 +1,74 @@
|
||||
<snippet>
|
||||
<content><![CDATA[
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" class="no-js">
|
||||
<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="your website's subject">
|
||||
<meta name="description" content="A description of the page">
|
||||
|
||||
<title>{{ config('app.name', 'Laravel') }}</title>
|
||||
|
||||
<!-- 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">
|
||||
|
||||
<!-- Favicon -->
|
||||
<link href="/favicon.ico" rel="icon" sizes="16x16" type="image/icon">
|
||||
<link href="/favicon.svg" rel="icon" type="image/svg+xml">
|
||||
<link href="/favicon.png" rel="icon" sizes="192x192">
|
||||
|
||||
<!-- Font preloads (should be done for each font file) -->
|
||||
<link href="{{ asset('fonts/fontfam/font.woff2') }}" rel="preload" as="font" type="font/woff2" crossorigin="anonymous">
|
||||
<link href="{{ asset('fonts/fontfam/font.woff') }}" rel="preload" as="font" type="font/woff" crossorigin="anonymous">
|
||||
|
||||
<!-- Styles -->
|
||||
<link href="{{ asset('css/app.css') }}" rel="stylesheet" media="screen">
|
||||
<link href="{{ asset('css/print.css') }}" rel="stylesheet" media="print">
|
||||
@yield('css')
|
||||
|
||||
<!-- JS that must be executed before the document is loaded -->
|
||||
<script type="module">
|
||||
document.documentElement.classList.remove('no-js');
|
||||
document.documentElement.classList.add('js');
|
||||
</script>
|
||||
|
||||
<!-- Scripts -->
|
||||
<script src="{{ asset('js/app.js') }}" defer></script>
|
||||
@yield('js')
|
||||
|
||||
</head>
|
||||
<body class="font-sans antialiased">
|
||||
<div id="app" class="min-h-screen bg-gray-100">
|
||||
@yield('body')
|
||||
|
||||
</div>
|
||||
</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>
|
Reference in New Issue
Block a user