The Important Stuff ...

.paginate if paginator.num_pages > 1 if page_obj.has_next span.nextpage a(href='?page=#{page_obj.next_page_number}') « Older entries if page_obj.has_previous span.prevpage a(href='?page=#{page_obj.previous_page_number}') Newer entries »