update pagination partial to use new permalink helper