Skip to content

Commit

Permalink
Increase number of elements shown per page
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Dec 8, 2024
1 parent cd6dfc4 commit b5748f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/php/de/thekid/dialog/web/Feed.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#[Handler('/feed')]
class Feed {
private $pagination= new Pagination(5);
private $pagination= new Pagination(8);

public function __construct(private Repository $repository) { }

Expand Down
2 changes: 1 addition & 1 deletion src/main/php/de/thekid/dialog/web/Home.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public function __construct(private Repository $repository) { }
public function index() {
return View::named('home')->with([
'cover' => $this->repository->entry('@cover'),
'newest' => $this->repository->newest(6),
'newest' => $this->repository->newest(9),
]);
}

Expand Down

0 comments on commit b5748f5

Please sign in to comment.