mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 22:41:27 +00:00
Add new base layout for non auth users
This commit is contained in:
parent
eccef3fbdf
commit
4b25418659
1 changed files with 40 additions and 0 deletions
40
resources/views/layouts/anon.blade.php
Normal file
40
resources/views/layouts/anon.blade.php
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="{{ app()->getLocale() }}">
|
||||||
|
<head>
|
||||||
|
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||||
|
|
||||||
|
<meta name="robots" content="noimageindex, noarchive">
|
||||||
|
<meta name="mobile-web-app-capable" content="yes">
|
||||||
|
|
||||||
|
<title>{{ $title or config('app.name', 'Laravel') }}</title>
|
||||||
|
|
||||||
|
@if(isset($title))<meta property="og:site_name" content="{{ config('app.name', 'Laravel') }}">
|
||||||
|
<meta property="og:title" content="{{ $title or config('app.name', 'Laravel') }}">
|
||||||
|
<meta property="og:type" content="article">
|
||||||
|
<meta property="og:url" content="{{request()->url()}}">
|
||||||
|
@endif
|
||||||
|
|
||||||
|
@stack('meta')
|
||||||
|
|
||||||
|
<meta name="medium" content="image">
|
||||||
|
<meta name="theme-color" content="#10c5f8">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
|
|
||||||
|
<link rel="canonical" href="{{request()->url()}}">
|
||||||
|
<link href="{{ mix('css/app.css') }}" rel="stylesheet">
|
||||||
|
@stack('styles')
|
||||||
|
</head>
|
||||||
|
<body class="">
|
||||||
|
@include('layouts.partial.noauthnav')
|
||||||
|
<main id="content">
|
||||||
|
@yield('content')
|
||||||
|
</main>
|
||||||
|
@include('layouts.partial.footer')
|
||||||
|
<script type="text/javascript" src="{{ mix('js/app.js') }}"></script>
|
||||||
|
@stack('scripts')
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in a new issue