{% endif %}
{% empty %}
<p>{% trans "No results found." %}</p>
+{# Show some example queries to run, maybe query syntax, something else? #}
{% endfor %}
{% if page.has_previous or page.has_next %}
-<div>
- {% if page.has_previous %}<a href="?q={{ query }}&page={{ page.previous_page_number }}">{% endif %}{% trans "« Previous" %}{% if page.has_previous %}</a>{% endif %}
- |
- {% if page.has_next %}<a href="?q={{ query }}&page={{ page.next_page_number }}">{% endif %}{% trans "Next »" %}{% if page.has_next %}</a>{% endif %}
-</div>
-{% else %}
-{# Show some example queries to run, maybe query syntax, something else? #}
+<p class="prevnext">
+ {% if page.has_previous %}
+ <a class="previous_page" href="?q={{ query }}&page={{ page.previous_page_number }}">{% trans "previous" %}</a>
+ {% endif %}
+ {% if page.has_next %}
+ <a class="next_page" href="?q={{ query }}&page={{ page.next_page_number }}">{% trans "next" %}</a>
+ {% endif %}
{% endif %}
+
{% endblock "body" %}