Skip to content

Commit

Permalink
docs: update docs with trailingSlashes plugin option and exclude pages
Browse files Browse the repository at this point in the history
  • Loading branch information
sbardian committed May 22, 2020
1 parent 988bfd9 commit e4f2d1d
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,18 +345,21 @@ gatsby-config.js
autoGenHomeLabel: `Root`,
// exlude: optional, include to overwrite these default excluded pages
exclude: [
`/dev-404-page`,
`/404`,
`/dev-404-page/`,
`/404/`,
`/404.html`,
`/offline-plugin-app-shell-fallback`,
`/offline-plugin-app-shell-fallback/`,
],
// crumbLabelUpdates: optional, update specific crumbLabels in the path
crumbLabelUpdates: [
{
pathname: '/book',
crumbLabel: 'Books'
}
]
],
// trailingSlashes: optional, will add trailing slashes to the end
// of crumb pathnames. default is false
trailingSlashes: true,
// usePathPrefix: optional, if you are using pathPrefix above
usePathPrefix: '/blog',
},
Expand Down

0 comments on commit e4f2d1d

Please sign in to comment.