Use paginate setting in site config
Use paginate setting in site config

Instead of pageNum site param which may or may not have been set (I don't see it in the documentation, and site breaks without it).

`paginate` will always have a value -- and is a better choice when only one setting is needed.

leopku/hugo-theme-next,JohnSmithX/hugo-theme-next