From 47a9e9c7ee6b08b79237de4ca27e0bdf26ae0e48 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Tue, 6 Sep 2022 15:12:13 +0200 Subject: [PATCH] =?UTF-8?q?Zobrazen=C3=AD=20kone=C4=8Dn=C3=BDch=20=C5=A1ip?= =?UTF-8?q?ek=20str=C3=A1nkov=C3=A1n=C3=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/macros.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/templates/macros.html b/templates/macros.html index 4b82e94..fb1ecf6 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -26,9 +26,17 @@ {% endmacro print_recipe %} {% macro pagination() %} - {% if paginator.previous %}{% endif %} + {% if paginator.previous %} + + {% else %} + + {% endif %} {{ paginator.current_index }} / {{ paginator.number_pagers }} - {% if paginator.next %}{% endif %} + {% if paginator.next %} + + {% else %} + + {% endif %} {% endmacro pagination %} {% macro subnav() %}