BookStack/resources/views/base.blade.php

45 lines
1.2 KiB
PHP
Raw Normal View History

2015-07-12 15:01:42 -04:00
<!DOCTYPE html>
<html class="@yield('body-class')">
2015-07-12 15:01:42 -04:00
<head>
<title>{{ isset($pageTitle) ? $pageTitle . ' | ' : '' }}{{ setting('app-name') }}</title>
<!-- Meta -->
2015-07-12 15:01:42 -04:00
<meta name="viewport" content="width=device-width">
2015-08-12 18:42:42 -04:00
<meta name="token" content="{{ csrf_token() }}">
<meta name="base-url" content="{{ baseUrl('/') }}">
2015-10-18 14:40:33 -04:00
<meta charset="utf-8">
<!-- Styles and Fonts -->
<link rel="stylesheet" href="{{ versioned_asset('dist/styles.css') }}">
<link rel="stylesheet" media="print" href="{{ versioned_asset('dist/print-styles.css') }}">
<!-- Scripts -->
<script src="{{ baseUrl('/translations') }}"></script>
2015-07-12 16:31:15 -04:00
@yield('head')
@include('partials.custom-styles')
@include('partials.custom-head')
</head>
<body class="@yield('body-class')">
2015-08-31 06:43:28 -04:00
@include('partials.notifications')
@include('common.header')
2015-07-21 17:11:30 -04:00
<section id="content" class="block">
2015-07-12 15:01:42 -04:00
@yield('content')
</section>
<div back-to-top>
<div class="inner">
@icon('chevron-up') <span>{{ trans('common.back_to_top') }}</span>
</div>
</div>
@yield('bottom')
<script src="{{ versioned_asset('dist/app.js') }}"></script>
@yield('scripts')
2015-07-12 15:01:42 -04:00
</body>
</html>