2024-02-17 21:24:39 +00:00
|
|
|
{% macro static_pagination(base, current) %}
|
2024-03-02 23:19:48 +00:00
|
|
|
<div class="pagination box inline-block">
|
2024-02-17 21:24:39 +00:00
|
|
|
{% if current == 1 %}
|
|
|
|
[Předchozí]
|
|
|
|
{% else %}
|
|
|
|
[<a href="{{ base }}?page={{ current - 1 }}">Předchozí</a>]
|
|
|
|
{% endif %}
|
|
|
|
 
|
|
|
|
|
|
|
|
[<b><a href="{{ base }}?page={{ current }}">{{ current }}</a></b>] 
|
|
|
|
[<a href="{{ base }}?page={{ current + 1 }}">Další</a>]
|
|
|
|
</div>
|
|
|
|
{% endmacro %}
|