Nekrocuck

This commit is contained in:
2025-09-28 12:59:09 +02:00
commit a2d093954d
402 changed files with 13763 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
{% macro static_pagination(base, current, chain) %}
<div class="pagination box inline-block">
{% if current == 1 %}
[Předchozí]
{% else %}
{% if chain %}
[<a href="{{ base }}&page={{ current - 1 }}">Předchozí</a>]
{% else %}
[<a href="{{ base }}?page={{ current - 1 }}">Předchozí</a>]
{% endif %}
{% endif %}
&#32;
{% if chain %}
[<b><a href="{{ base }}&page={{ current }}">{{ current }}</a></b>]&#32;
[<a href="{{ base }}&page={{ current + 1 }}">Další</a>]
{% else %}
[<b><a href="{{ base }}?page={{ current }}">{{ current }}</a></b>]&#32;
[<a href="{{ base }}?page={{ current + 1 }}">Další</a>]
{% endif %}
</div>
{% endmacro %}