<div class="paginate">
% if offset > 0:
<a href="{{offset - 1}}.html">← prev</a>
% else:
<span class="inactive">← prev</span>
% end
<span class="sep">|</span>
% if more:
<a href="{{offset + 1}}.html">next →</a>
% else:
<span class="inactive">next →</span>
% end
</div>