Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow "relative" URL in front matter #5704
Currently you can do:
And we would treat the above as an URL starting from the BaseURL root. Which is good.
But in multi-language setups you would then have to do something ala:
To set a custom URL for that language. Which works.
It would, however, be very useful if we had support for a relative way of doing this. I have quoted the word relative in the issue title, as I'm really not sure what it should be relative to.
This also ties into #5139 and similar.
I would think that this:
Would be relative to the content's language.