{% spaceless %}
{% for page, page_url in pager %}
  {% if forloop.first %}
    <div class="page_bar">
       {% if prev_page %}<a href="{{ prev_page }}">&lt; Prev</a><span>&nbsp;</span>{% endif %}
       {% if first_page %}<a href="{{ first_page }}">1</a><span>&nbsp;...&nbsp;</span>{% endif %}
  {% endif %}
       {% ifequal page current_page %}
           <span class='nav_bar_current'>{{ page }}</span>
       {% else %}
           <a href="{{ page_url }}">{{ page }}</a>
       {% endifequal %}
  {% if forloop.last %}
    {% if last_page %}<span>&nbsp;...&nbsp;</span><a href="{{ last_page }}">{{ total_pages }}</a><span>&nbsp;</span>{% endif %}
    {% if next_page %}<a href="{{ next_page }}">Next &gt;</a><span>&nbsp;</span>{% endif %}
    |{% for limit, limit_url in page_limits %}&nbsp;<a href="{{ limit_url }}">{{ limit }}</a>{% endfor %}
    </div>
  {% else %}
    <span>&nbsp;</span>
  {% endif %}
{% endfor %}
{% endspaceless %}
<!-- {{ path }} -->
