diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-09-15 09:32:52 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-09-15 09:32:52 +0200 |
commit | b86a605bfb14450d56f4e7faeb4fc5fa8c936438 (patch) | |
tree | 5fc32bce53a880a706ef28b2041081995693894e /helpers/path.go | |
parent | bbb11a4a0f9b4673ecba52d349e90db8c352e444 (diff) |
Make paginate settings configurable per language
Fixes #2449
Diffstat (limited to 'helpers/path.go')
-rw-r--r-- | helpers/path.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/path.go b/helpers/path.go index b7e6f51a9..b8f642470 100644 --- a/helpers/path.go +++ b/helpers/path.go @@ -341,7 +341,7 @@ func GetRelativePath(path, base string) (final string, err error) { // PaginateAliasPath creates a path used to access the aliases in the paginator. func PaginateAliasPath(base string, page int) string { - paginatePath := viper.GetString("paginatePath") + paginatePath := Config().GetString("paginatePath") uglify := viper.GetBool("UglyURLs") var p string if base != "" { |