{# Recommendations: Always import this macro with context, otherwise it fails. It depends on a couple context-defined functions. #} {% macro nl_list(l, page_n=None, total_count=None, hl_tags=(), hl_calendar=None, other_url='p/most_recent') %} {% if page_n and total_count %}

Showing results {{ page_n * 20 - 19 }} to {{ min(page_n * 20, total_count) }} of {{ total_count }} total.

{% endif %} {% endmacro %}