To get https working, the paths need to be absolute in relation to the called domain. For that, I had to set the base URL empty and make every path begin with a slash.
This makes it possible to use the paginator on the index page without problems. The li.html now only lists the articles.
This is the initial import of all blog posts and a pretty workable theme. More work will follow.