I have hard time figuring out how to get pagination to work on my first Hugo website.
My Hugo is v0.160.1 and I’m using GitHub - leonstafford/accessible-minimalism-hugo-theme: Minimalist Hugo theme with a penchant for accessibility · GitHub
I have only home and posts in navigation. I have been following instructions from Pagination without luck.
All I’m looking for to do, is to get the posts list to show certain amount of posts per page, latest on top (as it does now).
I am probably missing something completely simple and obvious, so bear with me 
Thank you in advance for the help.
Can you share you code you have so far?
I’m not at the moment with my project files … but from the pagination docs examples I have tried all in different places at layouts/_default/list.html and the config examples too.
Sometimes I get some errors and sometimes somekind of pagination appears (not the working one), but posts list disappears.
That’s why I’m really baffled about his.
You need to share your code. See Requesting Help.
Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick git clone on your repo, then run hugo server in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.
If you can’t share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem you’re experiencing.
Git repository hosting services include Github, Bitbucket, Codebase, Gitlab, Sourcehut, and others. If you select Github, even if you do not know git or have a repository, you can use Github “gists” for pasting logs and files. You can include multiple files in a single gist, like this one.
Yes. I will. But like I said earlier, I’m not able to at the moment.
Cannot share something that is somewhere else, right?
I doubt that anyone would be able to help you then. Your description is so vague (“sometimes I get errors”, “sometimes some kind of pagination”) that it is, pardon my French, utterly useless.
At the very least, show us your config file(s) and your list template. No promises though that this will help figuring it out.
I’m convinced that if more people will point out that I need to share
the code, which I have said to be somewhere else than I am, will
magically make me transport to the place where those files are.
So it’s eather your code being magically transported where you are or other people magically reading your code without you posting it.
One way or another, something magical must happen.
Let’s wait for that.
Apparently you, Christian, are not familiar with the concept of beign
physically separated from your computer. Some people do that on regular
basis, for one reason or another. That doesn’t usually mean that they
will not return and be reunited with the machine. Which, for example in
this case, will then make possible to share such files that are stored
at the computer in question.
No magic needed, just some patience.
But then again, Teleport is a level 7 spell, so maybe few more mentions
will do the magic?
I have all forgotten about this, my apologies …
Well, the magick did happen almost two weeks ago. The last night at the hotel bar I met an, apparently a very high level, wizard. As we share the love for the Highland malts we ended up talking about this and that.
So at one point she revelaed that she is very versed in webdev and hugo and such thingies out there. Well, of course, I did mention my little problem with the pagination.
Luckily she had her laptop with her, so it was just fiveish minutes for her to check the theme files and immediately pointed out what I need to do in order to achieve what I was trying to do.
And yeah, it was very much “something simple and obvious” I learned.
From her shrug and the smirk in her face after I mentioned to asked this over here, I realised to drop it and ordered a next round for us.
So all good now and no lines of code harmed during the process.