<div class="row">
<div class="col-sm-3">
  {% if after %}
    <a href="?after={{ after }}">&larr; Newer</a>
  {% endif %}
</div>

<div class="col-sm-3 col-sm-offset-6">
  {% if before %}
    <a href="?before={{ before }}">Older &rarr;</a>
  {% endif %}
</div>
</div>
