-<!doctype html>
-<html lang="{{ config('app.lang') }}">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title>{{ $book->name }}</title>
+@extends('layouts.export')
- @include('partials.export-styles', ['format' => $format])
-
- <style>
- .page-break {
- page-break-after: always;
- }
- .chapter-hint {
- color: #888;
- margin-top: 32px;
- }
- .chapter-hint + h1 {
- margin-top: 0;
- }
- ul.contents ul li {
- list-style: circle;
- }
- @media screen {
- .page-break {
- border-top: 1px solid #DDD;
- }
- }
- </style>
- @yield('head')
- @include('partials.export-custom-head')
-</head>
-<body>
-
-<div class="page-content">
+@section('title', $book->name)
+@section('content')
<h1 style="font-size: 4.8em">{{$book->name}}</h1>
<p>{{ $book->description }}</p>
@endif
@endforeach
-
-</div>
-
-</body>
-</html>
+@endsection
\ No newline at end of file