2015-09-04 02:05:45 +08:00
|
|
|
<div class="page">
|
|
|
|
<h3>
|
|
|
|
<a href="{{ $page->getUrl() }}" class="text-page"><i class="zmdi zmdi-file-text"></i>{{ $page->name }}</a>
|
|
|
|
</h3>
|
2015-10-15 04:55:56 +08:00
|
|
|
|
|
|
|
@if(isset($showMeta) && $showMeta)
|
|
|
|
<div class="meta">
|
|
|
|
<span class="text-book"><i class="zmdi zmdi-book"></i> {{ $page->book->name }}</span>
|
|
|
|
@if($page->chapter)
|
|
|
|
<span class="text-chapter"><i class="zmdi zmdi-collection-bookmark"></i> {{ $page->chapter->name }}</span>
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
2015-09-04 02:05:45 +08:00
|
|
|
@if(isset($page->searchSnippet))
|
|
|
|
<p class="text-muted">{!! $page->searchSnippet !!}</p>
|
|
|
|
@else
|
|
|
|
<p class="text-muted">{{ $page->getExcerpt() }}</p>
|
|
|
|
@endif
|
|
|
|
</div>
|