only fill out number links to left if there are enough articles; less test articles

This commit is contained in:
chimchooree
2020-10-04 11:19:53 -05:00
parent 896c466021
commit 376c924c2c
342 changed files with 3 additions and 16492 deletions
+1 -1
View File
@@ -26,7 +26,7 @@
% end
% # fill out number cluster to the left when page is high
% if page > max_pages - cluster:
% if max_pages > cluster and page > max_pages - cluster:
% for j in range(cluster - max_pages + page):
<a href=/diary/{{max_pages - cluster * 2 + j}}>{{max_pages - cluster * 2 + j}}</a>
% end