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

Search Results    {{$searchTerm}}

Matching Pages

@if(count($pages) > 0) @foreach($pages as $page)

{{$page->name}}

{!! $page->searchSnippet !!}


@endforeach @else

No pages matched this search

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

Matching Books

@foreach($books as $book)

{{$book->name}}

{!! $book->searchSnippet !!}


@endforeach
@endif @if(count($chapters) > 0)

Matching Chapters

@foreach($chapters as $chapter)

{{$chapter->name}}

{!! $chapter->searchSnippet !!}


@endforeach
@endif
@stop