gatsby-wordpress-starter-files icon indicating copy to clipboard operation
gatsby-wordpress-starter-files copied to clipboard

Rename {wpPage.uri}.js to {wpPage.link}.js

Open khristos opened this issue 3 years ago • 0 comments

Using the filename '{wpPage.uri}.js' seems to overwrite the 'index.js' route as well. I renamed the file to '{wpPage.link}.js' and it seems to restore the home page 'index.js' to its proper rendering. Incidentally, directory 33 in '5. Stepped Solutions' has the filename '{wpPage.link}.js'.

My gatsby version is 3.7.1

Thanks.

khristos avatar Jun 14 '21 21:06 khristos