#33: Add prev/next buttons to template pagination (front-end)