{% if pagenum > 1 %}
  • Previous
  • {% endif %} {% for num in range( 0,(paginate+1) ) %}
  • {{num+1}}
  • {% endfor %} {% if pagenum < paginate+1 %}
  • Next
  • {% endif %}