Maybe I am missing something, but if `i == 0` the "nextlink" has to be `"index-1.html"`, why is the index dependent of the number of pages?