mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-23 23:11:27 +00:00
40 lines
1.7 KiB
PHP
40 lines
1.7 KiB
PHP
<!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="mobile-web-app-capable" content="yes">
|
|
|
|
<title>{!! $title ?? config_cache('app.name') !!}</title>
|
|
|
|
<meta property="og:site_name" content="{{ config_cache('app.name', 'pixelfed') }}">
|
|
<meta property="og:title" content="{{ $title ?? config_cache('app.name', 'pixelfed') }}">
|
|
<meta property="og:type" content="article">
|
|
<meta property="og:url" content="{{request()->url()}}">
|
|
@stack('meta')
|
|
|
|
<meta name="medium" content="image">
|
|
<meta name="theme-color" content="#10c5f8">
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<link rel="shortcut icon" type="image/png" href="/img/favicon.png?v=2">
|
|
<link rel="apple-touch-icon" type="image/png" href="/img/favicon.png?v=2">
|
|
<link rel="canonical" href="{{request()->url()}}">
|
|
<link href="{{ mix('css/app.css') }}" rel="stylesheet" data-stylesheet="light">
|
|
<link href="{{ mix('css/portfolio.css') }}" rel="stylesheet" data-stylesheet="light">
|
|
<script type="text/javascript">window._portfolio = { domain: "{{config('portfolio.domain')}}", path: "{{config('portfolio.path')}}"}</script>
|
|
|
|
</head>
|
|
<body class="w-100 h-100">
|
|
<main id="content" class="w-100 h-100">
|
|
@yield('content')
|
|
</main>
|
|
<script type="text/javascript" src="{{ mix('js/manifest.js') }}"></script>
|
|
<script type="text/javascript" src="{{ mix('js/vendor.js') }}"></script>
|
|
<script type="text/javascript" src="{{ mix('js/app.js') }}"></script>
|
|
@stack('scripts')
|
|
</body>
|
|
</html>
|