-
Couldn't load subscription status.
- Fork 10.3k
Closed
Description
Hello,
I expect the helper function prefixLink to generate valid links, no matter what I throw to it.
For example, I expect the following to work
<Link to={prefixLink('somesection')}>
BlaBLa
</Link>But it does not. I'm forced to do it like this:
<Link to={prefixLink('somesection/')}>
BlaBLa
</Link>Please note the trailinig / at the end of somesection
Not a big deal, but a bit annoying. I didn't noticed this before because 99% of my links are generated automatically from gatsby metadata.
Metadata
Metadata
Assignees
Labels
No labels