wrong numbers fill out left side when page is high

This commit is contained in:
chimchooree
2020-10-04 10:51:24 -05:00
parent 4c3a9a2b52
commit 315e4103f6
+3 -3
View File
@@ -29,9 +29,9 @@
% end % end
% # fill out number cluster to the left when page is high % # fill out number cluster to the left when page is high
% if page >= max_pages - cluster: % if page > max_pages - cluster:
% for j in range(page - cluster): % for j in range(cluster - max_pages + page):
<a href=/diary/{{page + j + cluster + 1}}><b>{{page + j + cluster + 1}}</b></a> <a href=/diary/{{page + j + cluster + 1}}><b><i>{{page + j + cluster + 1}}</b></i></a>
% end % end
% end % end