{% if page > 1 %} [Prev] {% endif %} {% if posts.size() == postLimit %} [Next] {% endif %}