瀏覽代碼

fix: show pagination if it is present

Zubarev Grigoriy 7 月之前
父節點
當前提交
886bd7d26b
共有 1 個文件被更改,包括 1 次插入1 次删除
  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>