--- url: https://docs.youcan.shop/themes/filters/html/defaultPagination.md --- # Default Pagination You get the pagination links of a [`paginate`](/themes/objects/paginate) object. Use the `previous` and `next` options to change the text of the first and last links. Use the `anchor` option to add an anchor to every link. ## Example ```liquid {% paginate collection.products by 12 %} {{ paginate | default_pagination: previous: 'Newer', next: 'Older' }} {% endpaginate %} ``` ::: tip Output ```html Newer 1 2 3 Older ``` :::