Lullabot / gatsby-theme-adr

A Gatsby theme to generate a static site for ADRs
MIT License
12 stars 4 forks source link

fix: Support the trailingSlash option #67

Closed deviantintegral closed 1 year ago

deviantintegral commented 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.

Gatsby will be defaulting to always in gatsby 5, so I've added the option set to that for new sites.

image image
github-actions[bot] commented 1 year ago

:tada: This PR is included in version 1.3.5 :tada:

The release is available on:

Your semantic-release bot :package::rocket: