Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix previous/back navigation with --prefix-paths #48

Merged
merged 1 commit into from
Jun 23, 2021

Conversation

fwouts
Copy link
Contributor

@fwouts fwouts commented Jun 20, 2021

Summary

This fixes #41, ensuring the previous/back navigation appears even when the website is served in a nested path with gatsby build --prefix-paths.

See https://www.gatsbyjs.com/docs/reference/built-in-components/gatsby-link/#add-the-path-prefix-to-paths-using-withprefix for the relevant documentation.

Test plan

See reproduction notes in #41.

Sorry this comes three months later... Better late than never :)

@gregberge gregberge merged commit 45b96f4 into gregberge:main Jun 23, 2021
@gregberge
Copy link
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Previous/next page navigation disappears when using --prefix-paths
2 participants