hasura / gatsby-gitbook-starter

Generate GitBook style modern docs/tutorial websites using Gatsby + MDX
https://hasura.io/learn/graphql/react/introduction/
MIT License
980 stars 383 forks source link

How to remove the display /index in the address bar? #182

Open injashkin opened 2 years ago

injashkin commented 2 years ago

The structure of my files is as follows -content/nameDirectory/index.md. When opening a website page, the following path is displayed in the address bar: https://mySite/nameDirectory/index How do I make sure that /index is not displayed in the address bar? Namely, the following address was displayed: https://mySite/nameDirectory