{{ $chapter->name }}

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

{!! $chapter->searchSnippet !!}

@else

{{ $chapter->getExcerpt() }}

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

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

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

{{$page->name}}

@endforeach
@endif