Reference

Guide

$pagination->firstPageUrl()

Returns the Url for the first page

$pagination->firstPageUrl(): string

Return type

string

Example

$subpages   = $page->children()->paginate(10);
$pagination = $subpages->pagination();

echo $pagination->firstPageUrl();
// http://yourdomain/example/page:1

Source code

kirby/src/Cms/Pagination.php#L102