<nav class="pagination" role="pagination">
  {%- if paginator.previous_page -%}
    {%- if paginator.previous_page == 1 -%}
      <a class="newer-posts" href="/blog" title="Previous Page">&laquo; Newer Posts</a>
    {%- else -%}
      <a class="newer-posts" href="/blog/page{{ paginator.previous_page }}/" title="Previous Page">&laquo; Newer Posts</a>
    {%- endif -%}
  {%- endif -%}
  <span class="page-number"> Page {{paginator.page}} of {{paginator.total_pages}} </span>
  {%- if paginator.next_page -%}
   