I’m trying to modify the theme simple-hugo-theme to add the posts’ list at the index page, I mean, when opening the website.
I tried to add the content of the
list.html file to the
baseof.html file or to the
index.html file, and just for a moment I got it working, but the pagination didn’t work.
Could anyone help me to understand how to modify the theme and add the posts’ list at the index?
I uploaded the modified theme at git.sr.ht/~captainepoch/simple-hugo-theme. As I mentioned in this post, pagination is not working.
You are probably looking for https://gohugo.io/templates/homepage/.
I did take a look at that documentation, but it didn’t solve my question
I deleted the
index.html file and I got the posts’ list, but pagination is broken (it creates the index at the bottom and
hugo says it got
Paginator pages | 3, but going to the page 2 makes a 404 error).
@maiki thank you for your answer