Created
October 8, 2017 08:44
-
-
Save leMaur/b7567765e03b32477e2e85b02e66e20d to your computer and use it in GitHub Desktop.
Laravel blade template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="{{ app()->getLocale() }}"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
| <title>{{ config('app.name') }} - @yield('title')</title> | |
| <meta name="description" content="" /> | |
| <meta name="HandheldFriendly" content="True" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| {{-- CSRF Token --}} | |
| <meta name="csrf-token" content="{{ csrf_token() }}"> | |
| <link rel="shortcut icon" href="/favicon.ico"> | |
| {{-- Styles --}} | |
| <link href="{{ asset('css/root.css') }}" rel="stylesheet" type="text/css"> | |
| {{-- Fonts --}} | |
| {{-- <link href="https://fonts.googleapis.com" rel="stylesheet" media="none" onload="if(media!='all')media='all'"> --}} | |
| <link rel="canonical" href="{{ config('app.url') }}" /> | |
| <meta name="referrer" content="no-referrer-when-downgrade" /> | |
| {{-- Ld+Json --}} | |
| {{-- Twitter card --}} | |
| {{-- Pinterest card --}} | |
| <!-- Rss --> | |
| {{-- <link rel="alternate" type="application/rss+xml" title="{{ config('app.name') }}" href="{{ config('app.url') }}/rss?xml/" /> --}} | |
| {{-- <link rel="alternate" type="application/rss+json" title="{{ config('app.name') }}" href="{{ config('app.url') }}/rss?json/" /> --}} | |
| <script> | |
| window.App = {!! json_encode([ | |
| 'user' => Auth::user(), | |
| 'signedIn' => Auth::check() | |
| ]) !!}; | |
| </script> | |
| </head> | |
| <body> | |
| <a href="#root" class="skip-link">@lang('root.skip_content')</a> | |
| {{-- <a href="#lang" class="skip-link">@lang('root.skip_lang')</a> --}} | |
| @include('layouts.partials.header') | |
| <main id="root"> | |
| @yield('content') | |
| </main> | |
| @include('layouts.partials.footer') | |
| <!-- Scripts --> | |
| @routes | |
| <script src="{{ asset('js/root.js') }}"></script> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment