diary nav numbers are links; current page is not a link but bolded

This commit is contained in:
chimchooree
2020-10-01 19:05:07 -05:00
parent 04f23c4e29
commit 3a08c07f92
+3 -5
View File
@@ -4,11 +4,9 @@
<div class="diary-dir">
% for i in range(max(0,page - limit), min(total,page + limit)):
% if i == page:
<b>
% end
{{i}}
% if i == page:
</b>
<b>{{i}}</b>
% else:
<a href={{i}}>{{i}}</a>
% end
% end
</div>