mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
Misc doc, code refactoring to improve documentation
This commit is contained in:
@@ -27,8 +27,10 @@ import (
|
||||
|
||||
// PaginatorProvider provides two ways to create a page paginator.
|
||||
type PaginatorProvider interface {
|
||||
// Paginator creates a paginator with the default page set.
|
||||
Paginator(options ...any) (*Pager, error)
|
||||
Paginate(seq any, options ...any) (*Pager, error)
|
||||
// Paginate creates a paginator with the given page set in pages.
|
||||
Paginate(pages any, options ...any) (*Pager, error)
|
||||
}
|
||||
|
||||
// Pager represents one of the elements in a paginator.
|
||||
|
Reference in New Issue
Block a user