Comments (1)
Thanks for the heads up, @Trinityyi!
I cannot reproduce easily, but it seems that using ugly URLs (with trailing /
) when linking should fix this. Netlify and Gatsby will redirect the ugly URL to the pretty one anyways, so that's pretty much an easy fix. Added to the current sprint, shouldn't be too hard to fix over the weekend.
Possible solution
Add a check for internal
links not having a trailing /
, account for URL parameters, add the trailing slash before sending the link to the Link
component and it should be good to go. Doesn't break anything, requires a couple of extra tests.
from 30-seconds-web.
Related Issues (20)
- Update font family for code language
- Update to Next.js 11
- Git snippet example title bug
- Experiment with article tweets HOT 1
- Introduce prettier formatting to Sass files
- Mobile viewport enhancements HOT 1
- Create a print stylesheet
- Add pagination to collections page HOT 1
- Experiment with adding new snippets to the RSS feed
- Create a design system HOT 2
- Create a terminology wiki HOT 1
- Make sure newly created snippets have a recent date
- Evaluate header stickiness HOT 2
- Make sure every listing page has a canonical URL HOT 1
- Allow custom collections to belong to language collections HOT 2
- Migrate to ESM HOT 1
- User journey definition HOT 2
- Subset fonts HOT 2
- Input field is not as per the accessibility and HTML standards HOT 1
- [Footer-section] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 30-seconds-web.