How do I append an ID to Pagination URLs?

Highlighted
New Member
4 0 0

I'd like to append an id to my paginated url so that my blog comments scroll down to the comments section when pagination is clicked. 

 

This is the current code.  How can I add a liquid append condition to update the urls? 

{{ paginate | default_pagination: previous: previous_label, next: next_label | replace: 'view=ajax', '' }}

 

0 Likes