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

Search Results    {{$searchTerm}}

Matching Pages

@if(count($pages) > 0) @foreach($pages as $page) @include('pages/list-item', ['page' => $page, 'style' => 'detailed'])
@endforeach @else

No pages matched this search

@endif
@if(count($books) > 0)

Matching Books

@foreach($books as $book) @include('books/list-item', ['book' => $book])
@endforeach
@endif @if(count($chapters) > 0)

Matching Chapters

@foreach($chapters as $chapter) @include('chapters/list-item', ['chapter' => $chapter, 'hidePages' => true]) @endforeach
@endif
@stop