@extends('base') @section('content')

Search Results    {{ $searchTerm }}

@if(count($pages) > 0) View all matched pages @endif @if(count($chapters) > 0)      View all matched chapters @endif @if(count($books) > 0)      View all matched books @endif

Matching Pages

@include('partials/entity-list', ['entities' => $pages, 'style' => 'detailed'])
@if(count($books) > 0)

Matching Books

@include('partials/entity-list', ['entities' => $books]) @endif @if(count($chapters) > 0)

Matching Chapters

@include('partials/entity-list', ['entities' => $chapters]) @endif
@stop