Replies: 2 comments 2 replies
-
As far as I know, Hugo does not support that on an archive page.
|
Beta Was this translation helpful? Give feedback.
-
Hey, So, https://blog.jeremylikness.com/blog has pagination despite being not a homepage. Also, if you could help me out . So i am trying to create a blog page which will replace the current homepage and homepage will have some info section. But When I tried it (copied the index.html into _default and renamed to blog.html) it always throws "execute of template failed at <$pag.Pages>: error calling Pages: runtime error: invalid memory address or nil pointer dereference". When I start the server. I have created the appropriate page under content with layout defined to the copied page. Edit: After some digging, it seems the theme is at fault. If I set the layout to be "list" for any page, then Hugo doesnt compile the website and gives a similar error regarding pagination. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I wonder how to add pagination in Archive. If there are many posts in Archive, it would be better to add pagination to improve the user experience.
Beta Was this translation helpful? Give feedback.
All reactions