Pagination template: Add fallback to paginator.page_range