summaryrefslogtreecommitdiffstats
path: root/helpers/path.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-09-15 09:32:52 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-09-15 09:32:52 +0200
commitb86a605bfb14450d56f4e7faeb4fc5fa8c936438 (patch)
tree5fc32bce53a880a706ef28b2041081995693894e /helpers/path.go
parentbbb11a4a0f9b4673ecba52d349e90db8c352e444 (diff)
Make paginate settings configurable per language
Fixes #2449
Diffstat (limited to 'helpers/path.go')
-rw-r--r--helpers/path.go2
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 != "" {