Closed
Description
E.g.
https://example.com
=>https://example.com/
https://example.com/docs
=>https://example.com/docs/
This is an example of why it can be problematic to expose configuration as API (site.BaseURL
).
Note that to me the important part is to standardise it, so we could do
https://example.com/
=>https://example.com
If that's considered less breaking.
Note that I strongly recommend not using `site.BaseURL´ to construct URLs.
/cc @jmooring