Fix issue where paginator wasn't set for non-markdown index pages. Fixes #9.