Skip to content

Commit e5ac4aa

Browse files
committed
update hugo config pagination setting to work with newer versions
1 parent b518ee2 commit e5ac4aa

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

hugo.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,17 @@ enableGitInfo = false
3636
# Enable generation of `robots.txt` file?
3737
enableRobotsTXT = true
3838

39-
# Number of items per page in paginated
40-
# lists (valid for the `posts` homepage
41-
# layout in MemE)
42-
paginate = 4
43-
4439
# URL related
4540
disablePathToLower = false
4641
relativeURLs = false
4742
uglyURLs = false
4843

44+
# Number of items per page in paginated
45+
# lists (valid for the `posts` homepage
46+
# layout in MemE)
47+
[pagination]
48+
pagerSize = 4
49+
4950
# URL structure
5051
[permalinks]
5152
categories = "/categories/:slug/"

0 commit comments

Comments
 (0)