mrmartineau / gatsby-theme-code-notes

A Gatsby theme for publishing code-related notes to your website
https://code-notes-example.netlify.com
MIT License
470 stars 39 forks source link

Tag Pages Error #147

Open kaffimunster opened 3 years ago

kaffimunster commented 3 years ago

When attempting to click on a tag on the site it leads to 404 error. Am I supposed to manually create a page for each tag that I make while in the front matter while creating a md/mdx file? I have attached an example screen shot of the error. I am coming from Jekyll and I am very new to React and Gatsby so I apologize if this is a dumb question.

error

kaffimunster commented 3 years ago

Just updating, I have tried building using both yarn and gatsby-cli on several development environments and I get the same result.

mrmartineau commented 3 years ago

hi @kaffimunster, tag pages are automatically generated by the theme. I can see that the there are two forward slashes in the path that you are trying to visit. Can you try visiting /comics/tag/comics please and see if that works?

Also, do you see this error when clicking one of the tag links in the sidebar? or in a tag on a note?

Could you provide the code notes config from your gatsby-config.js file? It may help to further explain the issue.