My config
After "docpad run" produces errors
What could be the problem?
I tried to remove "docpad-paged", but don't result.
I see that getPageUrl is complaining that there is not a post for the Id -1 here
You need to change this line to
<% for pageNumber in [[email protected]] by 1: %>
the change here is by 1 as it will prevent coffee-script automatically going from 0 to -1 when there are no pages to loop.
Copyright © 2021 Jogjafile Inc.
I see that getPageUrl is complaining that there is not a post for the Id -1 here
You need to change this line to
the change here is by 1 as it will prevent coffee-script automatically going from 0 to -1 when there are no pages to loop.