diff options
author | Joe Mooring <[email protected]> | 2024-08-21 12:05:20 -0700 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-08-21 22:01:59 +0200 |
commit | 7792392a6f6fda7b1654ba0517e78c62f0a8c905 (patch) | |
tree | 570d40e17525f98f0a407e574c12c26862f9721c | |
parent | 46484bff84c82136740479e6420a7f88e2b20e94 (diff) | |
download | hugo-7792392a6f6fda7b1654ba0517e78c62f0a8c905.tar.gz hugo-7792392a6f6fda7b1654ba0517e78c62f0a8c905.zip |
config: Fix pagination deprecation messages
-rw-r--r-- | config/allconfig/allconfig.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/allconfig/allconfig.go b/config/allconfig/allconfig.go index 802000f97..f6dfa7260 100644 --- a/config/allconfig/allconfig.go +++ b/config/allconfig/allconfig.go @@ -381,12 +381,12 @@ func (c *Config) CompileConfig(logger loggers.Logger) error { // Legacy paginate values. if c.Paginate != 0 { - hugo.Deprecate("site config key paginate", "Use paginator.pagerSize instead.", "v0.128.0") + hugo.Deprecate("site config key paginate", "Use pagination.pagerSize instead.", "v0.128.0") c.Pagination.PagerSize = c.Paginate } if c.PaginatePath != "" { - hugo.Deprecate("site config key paginatePath", "Use paginator.path instead.", "v0.128.0") + hugo.Deprecate("site config key paginatePath", "Use pagination.path instead.", "v0.128.0") c.Pagination.Path = c.PaginatePath } |