X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/a6633642232efd164d4708967ab59e498fbff896..refs/pull/5681/head:/resources/views/books/show.blade.php diff --git a/resources/views/books/show.blade.php b/resources/views/books/show.blade.php index def198bdd..dbb09fc9e 100644 --- a/resources/views/books/show.blade.php +++ b/resources/views/books/show.blade.php @@ -1,4 +1,4 @@ -@extends('tri-layout') +@extends('layouts.tri') @section('container-attrs') component="entity-search" @@ -6,10 +6,19 @@ option:entity-search:entity-type="book" @stop +@push('social-meta') + + @if($book->cover) + + @endif +@endpush + +@include('entities.body-tag-classes', ['entity' => $book]) + @section('body') -
- @include('partials.breadcrumbs', ['crumbs' => [ + @@ -17,14 +26,14 @@

{{$book->name}}

-

{!! nl2br(e($book->description)) !!}

+
{!! $book->descriptionHtml() !!}
@if(count($bookChildren) > 0)
@foreach($bookChildren as $childElement) @if($childElement->isA('chapter')) - @include('chapters.list-item', ['chapter' => $childElement]) + @include('chapters.parts.list-item', ['chapter' => $childElement]) @else - @include('pages.list-item', ['page' => $childElement]) + @include('pages.parts.list-item', ['page' => $childElement]) @endif @endforeach
@@ -52,7 +61,7 @@ @endif
- @include('partials.entity-search-results') + @include('entities.search-results')
@stop @@ -60,14 +69,20 @@ @section('right')
{{ trans('common.details') }}
-