a href="{{ paginator.previous_page_path | relative_url }}">&laquo; Previous page</a></li>
    {% endif %}

    {% for page in (1..paginator.total_pages) %}

      {% if page == paginator.page %}
        <li aria-current="page">Page {{ page }}</li>

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

      {% else %}
        {% assign page_one_link = '/' | append: site.paginate_page | append: '1' | append: '/' %}

    