Don't output HTML for paging navigation if it's not needed. Fixes #20.