mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-02 15:35:18 +08:00
Added limit to books shown on homepage and make alphabetical
This commit is contained in:
@ -11,6 +11,9 @@
|
||||
@include('books/list-item', ['book' => $book])
|
||||
<hr>
|
||||
@endforeach
|
||||
@if(count($books) === 10)
|
||||
<a href="/books">View all books »</a>
|
||||
@endif
|
||||
@else
|
||||
<p class="text-muted">No books have been created.</p>
|
||||
<a href="/books/create" class="text-pos"><i class="zmdi zmdi-edit"></i>Create one now</a>
|
||||
|
Reference in New Issue
Block a user