Check if Page link has pagination? ( www.xxxx.com/blogs/news?page=13 )

How can I check if my page is paginated in liquid?

www.xxxx.com/blogs/news?page=13

Hi @uchizenmarux ,
In liquid don’t have a function specific for detected the url have include the pagination param or not, but we can use a code tip for check.

{% paginate %}

   
   {% assign is_paginate = false %}
   {% if paginate.next.is_link or paginate.previous.is_link %}
       {% assign is_paginate = true %}
   {% endif %}

{% endpaginate %}

{% if is_paginate  %}
    // The url include the paginate param
{% endif %}

Hope can helpful to you!

Thanks!