@if (isset($showPath) && $showPath) {{ $chapter->book->name }}   »   @endif {{ $chapter->name }}

@if(isset($chapter->searchSnippet))

{!! $chapter->searchSnippet !!}

@else

{{ $chapter->getExcerpt() }}

@endif @if(!isset($hidePages) && count($chapter->pages) > 0)

{{ trans('entities.x_pages', ['count' => $chapter->pages->count()]) }}

@foreach($chapter->pages as $page)
{{$page->name}}
@endforeach
@endif