Log in Sign up

Pagination for Tagged urls?

Is there a way to enable pagination for tagged urls

If a tag has a hundred posts or more, and they have images, it would be nice to only have a page worth of them load and then envoke the pagination navigation.

I had tried modifying the entries.html view in conjunction with the tagged.html view but had no luck.

Thoughts?


3 years ago, 3 replies   Edit question

I'm working on adding pagination to other lists of entries but I'm still trying to come up with a good, attractive syntax. My favourite option looks like this:

{{#paginate}}
  
  {{#tagged.entries}}
   <a href="{{{url}}}">{{{title}}}</a><br>
  {{/tagged.entries}}

  {{#next}} <a href="{{url}}">Next</a> {{/next}}
  {{#previous}} <a href="{{url}}"></a> {{/previous}}

{{/paginate}}

Does that seem reasonable? Would welcome any thoughts on this.

Answered 3 years ago · Edit answer

This seems very straight forward and easy to understand.

Answered 3 years ago · Edit answer

Any updates ??

Answered 3 years ago · Edit answer