Class: Liquid::Simplero::Tags::Paginate

Inherits:
Block
  • Object
show all
Defined in:
app/models/liquid/simplero/tags/paginate.rb

Overview

Pagination of a collection of objects.

{% paginate posts by 5 %}
  {% for post in posts %}
    ...
  {% endfor %}
{% endpaginate %}