Paginating from a page OTHER than my main page

Hi,

I would like to create a page that lists my blog entries, but I do not want this page to be my main index.html.

I know that pagination is not supported on type “page”, but it is not these pages that I wish to paginate. Is there any way I can get this to work?

Thanks in advance.

You can create a /blog/ directory. There you can create an _index.md file. That’s where you can list your posts.

It’s called a section. You can find out more here: https://gohugo.io/content-management/sections/

3 Likes

Thank you!
I have been trying to figure out how to do this for hours, it was not clear to me at all.

Much appreciated!

1 Like

You’re very welcome

1 Like

I don’t know what you mean by that, but I wanted to point you to the pagination docs. If guayom’s suggestion worked, then I don’t think your question was about pagination.