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"> <div class="diary-dir">
% for i in range(max(0,page - limit), min(total,page + limit)): % for i in range(max(0,page - limit), min(total,page + limit)):
% if i == page: % if i == page:
<b> <b>{{i}}</b>
% end % else:
{{i}} <a href={{i}}>{{i}}</a>
% if i == page:
</b>
% end % end
% end % end
</div> </div>

Loading…
Cancel
Save