{%macro print(page, config)%}
{%if page.next is not none%} Next {%endif%} Index {%if page.previous is not none%} Previous {%endif%}
{%endmacro%}