@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)

{{ count($chapter->pages) }} Pages

@foreach($chapter->pages as $page)

{{$page->name}}

@endforeach
@endif