mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-05 09:34:37 +08:00
Changed homepage card header links to be bottom-card-links
The old links in the headers were not obvious. This changes the header-based links to instead be a link at the bottom of the card. Related to #3046
This commit is contained in:
@ -39,7 +39,7 @@ class HomeController extends Controller
|
||||
$recentlyUpdatedPages = Page::visible()->with('book')
|
||||
->where('draft', false)
|
||||
->orderBy('updated_at', 'desc')
|
||||
->take($favourites->count() > 0 ? 6 : 12)
|
||||
->take($favourites->count() > 0 ? 5 : 10)
|
||||
->select(Page::$listAttributes)
|
||||
->get();
|
||||
|
||||
|
Reference in New Issue
Block a user