mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 06:00:25 +03:00
Rename DefaultPageSize => PagerSize
This was recently introduced. so no breaking change. The thing is: * We do not commonly use the prefix Default* even if it can be overridden in the templates. * PagerSize makes more sense and is also the term used in the code.
This commit is contained in:
parent
8cf94aea73
commit
9f22bc4414
5 changed files with 13 additions and 13 deletions
|
@ -413,8 +413,8 @@ func DecodeServer(cfg Provider) (Server, error) {
|
|||
|
||||
// Pagination configures the pagination behavior.
|
||||
type Pagination struct {
|
||||
// Default number of elements per page in pagination.
|
||||
DefaultPageSize int
|
||||
// Default number of elements per pager in pagination.
|
||||
PagerSize int
|
||||
|
||||
// The path element used during pagination.
|
||||
Path string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue