Weird pagination (can it be done with Hugo?)

I am working on implementing this. The first part works fine, but the pagination is leading to the same content with /seite/2/ (/page/2/) in the url. I’ll try my own pagination script.

The pagination documentation is very helpful. Thanks for your help, I will post the end result once I have it working.