You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure if gatsby-paginate is the root cause but I narrowed down that the pagination somehow works on pathPrefix/2 but not no posts are listed on pathPrefix.
I think the pages created from your markdowns on your pages folder is overriding the pageContext prop. Try removing your journal folder from pages directory and move it outside ( remember to edit gatsby-config to modify your file-system-plugin to point to the new directory )
Hi,
I am not sure if gatsby-paginate is the root cause but I narrowed down that the pagination somehow works on
pathPrefix/2
but not no posts are listed onpathPrefix
.Here's my
gatsby-node.js
: https://github.com/ajmalafif/ajmalafif.com/blob/master/gatsby-node.jsHere's the
pathPrefix/2
page that works somehow: https://5d2cb8dae6f14b0007f00f14--ajmalafif.netlify.com/journal/2Here's the broken page: https://5d2cb8dae6f14b0007f00f14--ajmalafif.netlify.com/journal/
I am getting this 404 in console but I am not sure how and where to fix this.
I keep trying things out on
gatsby-node.js
oncreatePaginatedPages
and I'm not sure if I'm looking at the right place to solve this.The text was updated successfully, but these errors were encountered: