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

small-nav
chimchooree 4 years ago
parent 04f23c4e29
commit 3a08c07f92

@ -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>

Loading…
Cancel
Save