Closed deviantintegral closed 1 year ago
Gatsby now supports a trailingSlash option which notably is required for GitHub pages. Otherwise, a redirect will be issued to add the slash and Google won't index the resulting page.
https://www.gatsbyjs.com/docs/reference/config-files/gatsby-config/#trailingslash
I had trouble testing this as I had to remove the .cache and possibly the packages/example/public/ directory too for the new options to be picked up.
.cache
packages/example/public/
Gatsby will be defaulting to always in gatsby 5, so I've added the option set to that for new sites.
always
:tada: This PR is included in version 1.3.5 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Gatsby now supports a trailingSlash option which notably is required for GitHub pages. Otherwise, a redirect will be issued to add the slash and Google won't index the resulting page.
https://www.gatsbyjs.com/docs/reference/config-files/gatsby-config/#trailingslash
I had trouble testing this as I had to remove the
.cache
and possibly thepackages/example/public/
directory too for the new options to be picked up.Gatsby will be defaulting to
always
in gatsby 5, so I've added the option set to that for new sites.