From c7168b21eeb3a435e4ac7537e3d2537d88a7351f Mon Sep 17 00:00:00 2001 From: lza_menace Date: Sat, 17 Apr 2021 00:44:26 -0700 Subject: [PATCH] fix template bug --- suchwow/templates/index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/suchwow/templates/index.html b/suchwow/templates/index.html index b7bf868..3f47da0 100644 --- a/suchwow/templates/index.html +++ b/suchwow/templates/index.html @@ -40,11 +40,13 @@

No posts yet!

{% endif %} +{% if total_pages %}
{% for p in range(1, total_pages + 1) %} {{ p }} {% endfor %}
+{% endif %}