mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 14:10:31 +03:00
parent
bbb11a4a0f
commit
b86a605bfb
8 changed files with 32 additions and 11 deletions
|
@ -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 != "" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue