    <li><a href="{{ site.paginate_path | relative_url | replace: ':num', page | replace: page_one_link, '/' }}">Page {{ page }}</a></li>

      {% endif %}

    {% endfor %}

    {% if paginator.next_page %}
    <li><a href="{{ paginator.next_page_path | relative_url }}">Next page &raquo;</a></li>
    {% endif %}
    </ul>
  </nav>

  {% endif %}
  {%- endif -%}
