{% spaceless %}

{% load humanize %}
{% load i18n %}

{% if total_pages %}

{% blocktrans trimmed with page=page|intcomma total_pages=total_pages|intcomma %}
page {{ page }} of {{ total_pages }}
{% endblocktrans %}

{% else %}

{% blocktrans trimmed with page=page|intcomma %}
page {{ page }}
{% endblocktrans %}

{% endif %}
{% endspaceless %}
