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

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

{!! $chapter->searchSnippet !!}

@else

{{ $chapter->getExcerpt() }}

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

@icon('page') {{ trans_choice('entities.x_pages', $chapter->pages->count()) }}

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