Fixed pagination with a blog subfolder

The index renders differently if it is not a previous page generation, then some
fixes to get the correct styles applied to each page and the pager on the bottom is
correct for the first page.