mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-24 11:52:34 +01:00
Update.
This commit is contained in:
parent
d37b398e79
commit
24ee78ccd8
@ -18,7 +18,7 @@ class Book extends Entity
|
||||
return baseUrl('/books/' . urlencode($this->slug));
|
||||
}
|
||||
|
||||
public function getBookCover($size = 120)
|
||||
public function getBookCover()
|
||||
{
|
||||
$default = baseUrl('/default.png');
|
||||
$image = $this->image;
|
||||
|
@ -7,7 +7,7 @@
|
||||
</h4>
|
||||
<div class="gallery-image">
|
||||
<a class="text-book entity-list-item-link" href="{{$book->getUrl()}}">
|
||||
<img src="{{$book->getBookCover(192)}}" alt="{{$book->name}}">
|
||||
<img src="{{$book->getBookCover()}}" alt="{{$book->name}}">
|
||||
</a>
|
||||
</div>
|
||||
@if(isset($book->searchSnippet))
|
||||
|
Loading…
Reference in New Issue
Block a user