mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
18 lines
786 B
PHP
18 lines
786 B
PHP
<div class="col-xs-12 col-sm-4 col-md-4 col-lg-4 books-grid-div" data-entity-type="book" data-entity-id="{{$book->id}}">
|
|
<div class="featured-image-container">
|
|
<a href="{{$book->getUrl()}}" title="{{$book->name}}">
|
|
<img width="1600" height="900" src="{{$book->getBookCover()}}" alt="{{$book->name}}">
|
|
</a>
|
|
</div>
|
|
<div class="book-content">
|
|
<h2><a href="{{$book->getUrl()}}" title="{{$book->name}}" > {{$book->getHeadingExcerpt()}} </a></h2>
|
|
@if(isset($book->searchSnippet))
|
|
<p >{{!! $book->searchSnippet !!}}</p>
|
|
@else
|
|
<p >{{ $book->getExcerpt(130) }}</p>
|
|
@endif
|
|
<div >
|
|
<span>@include('partials.entity-meta', ['entity' => $book])</span>
|
|
</div>
|
|
</div>
|
|
</div> |