<div class="row">
<div class="col-sm-3">
{% if after %}
<a href="?after={{ after }}">← Newer</a>
{% endif %}
</div>
<div class="col-sm-3 col-sm-offset-6">
{% if before %}
<a href="?before={{ before }}">Older →</a>