Closed ericleslie closed 11 years ago
It seems the output of .get('firstPageUrl')
has changed from 6.30 to 6.31. I will look into this further.
Aha could be....
Thanks for the submission though, great to see people using and contributing to this.
Please try out DocPad v6.44 with Paged v2.2 as there has been huge improvements in this area. Happy to re-open if it is still an issue.
I've updated everything and have run into some problems. Here's the gist error output. Is there anything I can do to debug this further?
No worries, so v2.2.0 has some b/c breaks, one of them is that the document prototype extensions are now template helpers, that means @document.hasPrevPage()
now becomes @hasPrevPage()
. Also getPagedUrl
has been renamed to getPageUrl
. See the changelog and the readme examples for more information.
I made these changes to restore support for paged files that lived in a sub-directory. Previously if the blog was in /blog/ all the URLs generated by
getPagedUrl
would point to /blog/.These changes work in docpad@6.30.x.