Quellcode durchsuchen

fix: show pagination if it is present

Zubarev Grigoriy vor 7 Monaten
Ursprung
Commit
886bd7d26b
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/rural_dict/templates/index.html

+ 1 - 1
src/rural_dict/templates/index.html

@@ -45,6 +45,6 @@
       {% endif %}
     </div>
     <br />
-    {% endfor %} {{ pagination|safe }}
+    {% endfor %} {% if pagination %}{{ pagination|safe }} {% endif %}
   </body>
 </html>