{# A macro for a simple pagination menu
 # 
 #     < PAGE x >
 #}

{% macro html (url_previous, text, url_next) %}
    <ul class="pagination">
        <li class="prev">
            {% if url_previous %}
                <a href="{{ url_previous }}">❮</a>
            {% endif %}
        </li>
        <li class="page">
            {{ text }}
        </li>
        <li class="next">
            {% if url_next %}
                <a href="{{ url_next }}">❯</a>
            {% endif %}
        </li>
    </ul>
{% endmacro %}
