2017-12-07 00:34:26 +08:00
|
|
|
<div class="col-xs-12 col-sm-4 col-md-4 col-lg-4 book-grid-item" data-entity-type="book" data-entity-id="{{$book->id}}">
|
2017-09-04 22:57:52 +08:00
|
|
|
<div class="featured-image-container">
|
|
|
|
<a href="{{$book->getUrl()}}" title="{{$book->name}}">
|
|
|
|
<img width="1600" height="900" src="{{$book->getBookCover()}}" alt="{{$book->name}}">
|
2017-07-07 18:59:38 +08:00
|
|
|
</a>
|
2017-07-12 16:14:37 +08:00
|
|
|
</div>
|
2017-12-07 00:34:26 +08:00
|
|
|
<div class="book-grid-content">
|
|
|
|
<h2><a href="{{$book->getUrl()}}" title="{{$book->name}}" > {{$book->getShortName(35)}} </a></h2>
|
2017-09-04 22:57:52 +08:00
|
|
|
@if(isset($book->searchSnippet))
|
2017-12-07 00:34:26 +08:00
|
|
|
<p >{!! $book->searchSnippet !!}</p>
|
2017-09-04 22:57:52 +08:00
|
|
|
@else
|
|
|
|
<p >{{ $book->getExcerpt(130) }}</p>
|
|
|
|
@endif
|
|
|
|
<div >
|
|
|
|
<span>@include('partials.entity-meta', ['entity' => $book])</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-06-29 21:24:04 +08:00
|
|
|
</div>
|